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 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 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 GitHub by drewr
, 1 year ago
Cannot run program "C:\Program Files\infra\bin\runbld" (in directory "<https://elasticsearch-ci.elastic.co/job/abs-temp-windows-test/ws/")>: CreateProcess error=193, %1 is not a valid Win32 application
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.(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:104)	at hudson.Proc$LocalProc.(Proc.java:82)	at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:311)	at hudson.Launcher$LocalLauncher.launch(Launcher.java:302)	at hudson.Launcher.launch(Launcher.java:140)	at hudson.Launcher.launch(Launcher.java:92)	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60)	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:34)	at hudson.model.Build$RunnerImpl.build(Build.java:138)	at hudson.model.Build$RunnerImpl.doRun(Build.java:113)	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:241)	at hudson.model.Run.run(Run.java:817)	at hudson.model.Build.run(Build.java:88)	at hudson.model.ResourceController.execute(ResourceController.java:70)	at hudson.model.Executor.run(Executor.java:88)