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. ,

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

  2. ,
    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 Jenkins JIRA by Fred G, 1 year ago
Cannot run program "ant" (in directory "/home/xxx/jenkins/workspace/aixtest"): error=2, A file or directory in the path name does not exist.
via Jenkins JIRA by Fred G, 2 years ago
Cannot run program "ant" (in directory "/home/xxx/jenkins/workspace/aixtest"): error=2, A file or directory in the path name does not exist.
via JFrog JIRA by Otavio R. Piske, 2 years ago
Cannot run program "java" (in directory "/development/application/build-data/jenkins/workspace"): java.io.IOException: error=2, No such file or directory
via JFrog JIRA by Otavio R. Piske, 1 year ago
Cannot run program "java" (in directory "/development/application/build-data/jenkins/workspace"): java.io.IOException: error=2, No such file or directory
via Jenkins JIRA by Mukul Sharma, 2 years ago
Cannot run program "Documents/jar_sources/tools/hudson.tasks.Ant_AntInstallation/ant-test/bin/ant" (in directory "Documents/jar_sources/workspace/Test MATT Plugin"): error=2, No such file or directory
via Jenkins JIRA by Mukul Sharma, 1 year ago
Cannot run program "Documents/jar_sources/tools/hudson.tasks.Ant_AntInstallation/ant-test/bin/ant" (in directory "Documents/jar_sources/workspace/Test MATT Plugin"): error=2, No such file or directory
java.io.IOException: Cannot run program "ant" (in directory "/home/xxx/jenkins/workspace/aixtest"): error=2, A file or directory in the path name does not exist. at java.lang.ProcessBuilder.start(ProcessBuilder.java:471) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:707) at hudson.Launcher$ProcStarter.start(Launcher.java:338) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:932) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:899) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) at java.lang.Thread.run(Thread.java:738)Caused by: java.io.IOException: error=2, A file or directory in the path name does not exist. at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:112) at java.lang.ProcessBuilder.start(ProcessBuilder.java:464) ... 15 more