java.io.IOException: Cannot run program "sh" (in directory "C:\Jenkins\jobs\hello\workspace"): CreateProcess error=2, ?w?????t?@?

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 to-developer.com by Unknown author, 1 year ago
Cannot run program "sh" (in directory "C:\Jenkins\jobs\hello\workspace"): CreateProcess error=2, ?w?????t?@?
via to-developer.com by Unknown author, 1 year ago
Cannot run program "sh" (in directory "C:\Jenkins\jobs\hello\workspace"): CreateProcess error=2, ?w?????t?@?
via Google Groups by Lily Fu, 2 years ago
Cannot run program "sh" (in directory "C:\Users\lily.fu\.jenkins\jobs\LilyTest_LiquibaseDiff\workspace"): CreateProcess error=2, The system cannot find the file specified
via nabble.com by Unknown author, 1 year ago
Cannot run program "sh" (in directory "C:\Users\lily.fu\.jenkins\jobs\LilyTest_LiquibaseDiff\workspace"): CreateProcess error=2, The system cannot find the file specified
via Software Quality Assurance & Testing by user3341382
, 4 months ago
Cannot run program "sh" (in directory "C:\Program Files (x86)\Jenkins\workspace\Motor Trade"): CreateProcess error=2, The system cannot find the file specified
via developpez.net by Unknown author, 1 year ago
Cannot run program "sh" (in directory "C:\Program Files (x86)\Jenkins\workspace\TEST *** QUA"): CreateProcess error=2, Le fichier spécifié est introuvable
java.io.IOException: Cannot run program "sh" (in directory "C:\Jenkins\jobs\hello\workspace"): CreateProcess error=2, ?w?????t?@?
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:244)
at hudson.Proc$LocalProc.(Proc.java:216)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:780)
at hudson.Launcher$ProcStarter.start(Launcher.java:360)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:97)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
at hudson.model.Build$BuildExecution.build(Build.java:199)
at hudson.model.Build$BuildExecution.doRun(Build.java:160)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:535)
at hudson.model.Run.execute(Run.java:1732)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:234)

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, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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