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

  1. ,
    Expert tip

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

  2. ,

    Provide a working directory instead of pointing it to a file or an empty directory in process builder.

Solutions on the web

via Jenkins JIRA by James Nord, 1 year ago
Cannot run program "C:\work\hudson_test_install\Home\tools\jdk1.6.0_21/bin/java" (in directory "C:\work\hudson_test_install\Home\jobs\test\workspace"): CreateProcess error=2, The system cannot find the file specified
via Jenkins JIRA by James Nord, 2 years ago
Cannot run program "C:\work\hudson_test_install\Home\tools\jdk1.6.0_21/bin/java" (in directory "C:\work\hudson_test_install\Home\jobs\test\workspace"): CreateProcess error=2, The system cannot find the file specified
via Google Groups by Unknown author, 9 months ago
Cannot run program "C:\Program Files\Java\jdk1.6.0_20/bin/java" (in directory "<http://build.openengsb.org/hudson/job/OpenEngSB/ws/")>: java.io.IOException: error=2, No such file or directory
via Stack Overflow by priyank
, 2 years ago
Cannot run program "docker" (in directory "/var/lib/jenkins/jobs/workspace"): error=2, No such file or directory
via Stack Overflow by Kid
, 1 year ago
Cannot run program "scons" (in directory "/Users/Kid/.jenkins/jobs/Try/workspace/Demo"): error=2, No such file or directory
via Stack Overflow by yehudahs
, 1 year ago
Cannot run program "python" (in directory "C:\Users\herod\jenkins_ws\workspace\window_testing"): CreateProcess error=2, The system cannot find the file specified
java.io.IOException: CreateProcess error=2, The system cannot find the file specified	at java.lang.ProcessImpl.create(Native Method)	at java.lang.ProcessImpl.(ProcessImpl.java:81)	at java.lang.ProcessImpl.start(ProcessImpl.java:30)	at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)	at hudson.Proc$LocalProc.(Proc.java:192)	at hudson.Proc$LocalProc.(Proc.java:164)	at hudson.Launcher$LocalLauncher.launch(Launcher.java:638)	at hudson.Launcher$ProcStarter.start(Launcher.java:273)	at hudson.maven.MavenProcessFactory.newProcess(MavenProcessFactory.java:216)	at hudson.maven.ProcessCache.get(ProcessCache.java:231)	at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:502)	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)	at hudson.model.Run.run(Run.java:1337)	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:349)	at hudson.model.ResourceController.execute(ResourceController.java:88)	at hudson.model.Executor.run(Executor.java:140)