java.io.IOException

Cannot run program "c:\Program\ Files\Java\jdk1.7.0_45\jre\ bin\java.exe": CreateProcess error=2, The system cannot find the file specified


Samebug tips1

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web22927

Solution icon of bugzilla
Cannot run program "c:\Program\ Files\Java\jdk1.7.0_45\jre\ bin\java.exe": CreateProcess error=2, The system cannot find the file specified

Solution icon of web
Cannot run program "c:\Program\ Files\Java\jdk1.7.0_45\jre\ bin\java.exe": CreateProcess error=2, The system cannot find the file specified

Solution icon of googlegroups
via Google Groups by Jonathan Hansford, 2 months ago
Cannot run program "C:\Program Files\Java\jdk1.7.0_65\bin\java.exe" (in directory "C:\LightTable\plugins\clojure\runner\resources"): CreateProcess error=2, The system cannot find the file specified

Solution icon of web
Cannot run program ""C:\Program Files\Java\jre7\bin\java"": CreateProcess error=2, The system cannot find the file specified

Solution icon of stackoverflow
Cannot run program "C:\Program Files\Java\jdk1.8.0_20\jre\bin\jarsigner.exe" (in directory "."): CreateProcess error=2, The system cannot find the file specified

Solution icon of stackoverflow
Cannot run program "C:\Program Files\Java\jdk1.8.0_131\jre\bin\javaw.exe": CreateProcess error=2, The system cannot find the file specified

Solution icon of jenkins
via Jenkins JIRA by Mark Edwards, 1 year ago
Cannot run program "C:\Program Files\Git\bin\git.exe": CreateProcess error=2, The system cannot find the file specified

Solution icon of stackoverflow
via Stack Overflow by SaneAxe
, 3 months ago
Cannot run program "C:\Program Files\Java\jdk1.8.0_73/bin/java" (in directory "C:\Users\Huzaifa\workspace\WebdriverTest"): CreateProcess error=2, The system cannot find the file specified

Solution icon of googlegroups
via Google Groups by r...@orange.fr (JIRA), 11 months ago
Cannot run program "/usr/java/jdk1.8.0_25/jre/bin/java": CreateProcess error=2, The system cannot find the file specified

Solution icon of jenkins
via Jenkins JIRA by Bharath Natarajan, 10 months ago
Cannot run program "/usr/java/jdk1.8.0_25/jre/bin/java": CreateProcess error=2, The system cannot find the file specified

Stack trace

  • java.io.IOException: Cannot run program "c:\Program\ Files\Java\jdk1.7.0_45\jre\ bin\java.exe": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041) at org.eclipse.jetty.start.Main.start(Main.java:693) at org.eclipse.jetty.start.Main.main(Main.java:103) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th e file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:385) at java.lang.ProcessImpl.start(ProcessImpl.java:136) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022) ... 2 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
8 times, 1 month ago
5 times, 1 month ago
3 times, 1 month ago
Once, 2 months ago
161 more bugmates