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 ilyaromanenko, 1 year ago
Cannot run program "sh" (in directory "d:\.hudson\jobs\55\workspace\default"): CreateProcess error=2, The system cannot find the file specified
via Jenkins JIRA by ilyaromanenko, 1 year ago
Cannot run program "sh" (in directory "d:\.hudson\jobs\55\workspace\default"): CreateProcess error=2, The system cannot find the file specified
via Jenkins JIRA by brucechapman, 1 year ago
Cannot run program "sh" (in directory "C:\DOCUME~1\bchapman\LOCALS~1\Temp\hudson31014test\jobs\test\workspace"): CreateProcess error=2, The system cannot find the file specified
via Jenkins JIRA by brucechapman, 1 year ago
Cannot run program "sh" (in directory "C:\DOCUME~1\bchapman\LOCALS~1\Temp\hudson31014test\jobs\test\workspace"): CreateProcess error=2, The system cannot find the file specified
via Stack Overflow by henrymclay
, 1 year ago
Cannot run program "bundle" (in directory "/Users/Shared/Jenkins/Home/workspace/Tests"): error=2, No such file or directory
via Stack Overflow by eldad levy
, 1 year ago
Cannot run program "gradle" (in directory "/var/jenkins/workspace/dadi"): java.io.IOException: error=2, No such file or directory
java.io.IOException: CreateProcess error=2, The system cannot find
the file specified	at java.lang.ProcessImpl.create(Native Method)	at java.lang.ProcessImpl.(Unknown Source)	at java.lang.ProcessImpl.start(Unknown Source)	at java.lang.ProcessBuilder.start(Unknown Source)	at hudson.Proc$LocalProc.(Proc.java:132)	at hudson.Proc$LocalProc.(Proc.java:110)	at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:359)	at hudson.Launcher$LocalLauncher.launch(Launcher.java:342)	at hudson.Launcher.launch(Launcher.java:175)	at hudson.Launcher.launch(Launcher.java:127)	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:84)	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)	at hudson.model.Build$RunnerImpl.build(Build.java:195)	at hudson.model.Build$RunnerImpl.doRun(Build.java:151)	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:272)	at hudson.model.Run.run(Run.java:899)	at hudson.model.Build.run(Build.java:112)	at hudson.model.ResourceController.execute(ResourceController.java:93)	at hudson.model.Executor.run(Executor.java:119)