java.io.IOException: Cannot run program "": 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.

Solutions on the web

via netbeans.org by Unknown author, 1 year ago
Cannot run program "": CreateProcess error=2, The system cannot find the file specified
via netbeans.org by Unknown author, 1 year ago
Cannot run program "": CreateProcess error=2, The system cannot find the file specified
via netbeans.org by Unknown author, 1 year ago
Cannot run program "C:\Program Files\glassfish-v3-prelude\bin\updatetool.exe" (in directory "C:\Program Files\glassfish-v3-prelude\bin"): CreateProcess error=740, The requested operation requires elevation
via netbeans.org by Unknown author, 1 year ago
Cannot run program "C:\Program Files\glassfish-v3-prelude\bin\updatetool.exe" (in directory "C:\Program Files\glassfish-v3-prelude\bin"): CreateProcess error=740, The requested operation requires elevation
via Coderanch by Shantanu Nandan, 1 year ago
Cannot run program ""C:/Documents": CreateProcess error=2, The system cannot find the file specified
via yolinux.com by Unknown author, 1 year ago
Cannot run program "..." (in directory "..."): CreateProcess error=2, The system cannot find the file specified
java.io.IOException: Cannot run program "": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
at org.openide.execution.NbProcessDescriptor.exec(NbProcessDescriptor.java:199)
at org.openide.execution.NbProcessDescriptor.exec(NbProcessDescriptor.java:151)
at org.openide.execution.NbProcessDescriptor.exec(NbProcessDescriptor.java:215)
at org.openide.execution.NbProcessDescriptor.exec(NbProcessDescriptor.java:226)
at org.netbeans.modules.extbrowser.NbDdeBrowserImpl$URLDisplayer.startBrowser(NbDdeBrowserImpl.java:467)

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, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 4 days ago
140 more bugmates

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