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

Solutions on the web

via Jenkins JIRA by ilyaromanenko, 2 years 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, 2 years 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
, 2 years ago
Cannot run program "gradle" (in directory "/var/jenkins/workspace/dadi"): java.io.IOException: error=2, No such file or directory
java.io.IOException: Cannot run program "sh" (in directory"d:\.hudson\jobs\55\workspace\default"): CreateProcess error=2, The systemcannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at hudson.Proc$LocalProc.<init>(Proc.java:132) at hudson.Proc$LocalProc.<init>(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)Caused by: java.io.IOException: CreateProcess error=2, The system cannot findthe file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 16 more