java.io.IOException: Cannot run program "bash" (in directory "C:\Users\vmuser"): CreateProcess error=2, The system cannot find the file specified

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.

,

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

Solutions on the web

via Eclipse Bugzilla by eugene.petrenko, 1 year ago
Cannot run program "bash" (in directory "C:\Users\vmuser"): CreateProcess error=2, The system cannot find the file specified
via Google Groups by Unknown author, 1 year ago
Cannot run program "bash" (in directory "C:\Users\Admin"): CreateProcess error=2, The system cannot find the file specified
via eclipse.org by Unknown author, 1 year ago
Cannot run program "bash" (in directory "C:\test"): CreateProcess error=2,
via GitHub by OhadR
, 1 year ago
Cannot run program "bash" (in directory "C:\Users\OhadR"): CreateProcess error=2, The system cannot find the file specified**
via Stack Overflow by user1893769
, 1 year ago
Cannot run program "bash" (in directory "C:\Users\vp19433"): CreateProcess error=2, The system cannot find the file specified
via Google Groups by Bill Wolosek, 1 year ago
Cannot run program "bash" (in directory "C:\Users\administrator.KI"): CreateProcess error=2, The system cannot find the file specified
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:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)

Users with the same issue

Once, 1 month ago
Once, 3 months ago
3 times, 6 months ago
Once, 1 year ago
5 times, 1 year ago

Write tip

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