java.io.IOException: Cannot run program "C:/Program Files/Java/jdk1.6.0_45/bin/java" (in directory "C:\Users\afshad.dinshaw\.IntelliJIdea14\system\compile-server\kie-wb-distributions-6_1_0_final_54fb3ed9\targets\gwt\kie-wb-webapp\gwt-output"): CreateProcess error=206, The filename or extension is too long

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

Solutions on the web

via Google Groups by Unknown author, 1 year ago
Cannot run program "C:/Program Files/Java/jdk1.6.0_45/bin/java" (in directory "C:\Users\afshad.dinshaw\.IntelliJIdea14\system\compile-server\kie-wb-distributions-6_1_0_final_54fb3ed9\targets\gwt\kie-wb-webapp\gwt-output"): CreateProcess error=206, The filename or extension is too long
via YouTrack by Unknown author, 1 year ago
Cannot run program "C:/usr/java/java7/bin/java" (in directory "C:\Users\kleggett\.IntelliJIdea14\system\compile-server\rs_trunk_31c0968d\targets\gwt\rocketscienceWAR\gwt-output"): CreateProcess error=206, The filename or extension is too long
via GitHub by Odomontois
, 9 months ago
Cannot run program "webpack" (in directory "C:\prog\projects\SBT\boogle-ms"): CreateProcess error=2, The system cannot find the file specified
via GitHub by Odomontois
, 11 months ago
Cannot run program "webpack" (in directory "C:\prog\projects\SBT\boogle-ms"): CreateProcess error=2, The system cannot find the file specified
via youtube.com by Unknown author, 1 year ago
Cannot run program "C:\Program Files\Java\jre1.8.0_31\bin\javaw.exe" (in directory "C:\Users\personal\AppData\Roaming\.minecraft"): CreateProcess error=2, El sistema no puede encontrar el archivo especificado
via youtube.com by Unknown author, 1 year ago
Cannot run program "C:\Program Files\Java\jre1.8.0_31\bin\javaw.exe" (in directory "C:\Users\personal\AppData\Roaming\.minecraft"): CreateProcess error=2, El sistema no puede encontrar el archivo especificado
java.io.IOException: Cannot run program "C:/Program Files/Java/jdk1.6.0_45/bin/java" (in directory "C:\Users\afshad.dinshaw\.IntelliJIdea14\system\compile-server\kie-wb-distributions-6_1_0_final_54fb3ed9\targets\gwt\kie-wb-webapp\gwt-output"): CreateProcess error=206, The filename or extension is too long
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:177)
at java.lang.ProcessImpl.start(ProcessImpl.java:28)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
at org.jetbrains.jps.gwt.build.GwtBuilder.compile(GwtBuilder.java:169)
at org.jetbrains.jps.gwt.build.GwtBuilder.build(GwtBuilder.java:101)
at org.jetbrains.jps.gwt.build.GwtBuilder.build(GwtBuilder.java:48)
at org.jetbrains.jps.incremental.IncProjectBuilder.buildTarget(IncProjectBuilder.java:906)
at org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:887)
at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:945)
at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:840)
at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:663)
at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:370)
at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:191)
at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:137)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:293)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:124)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:242)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
164 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.