java.io.IOException: Cannot run program "java": error=2, No existe el archivo o el directorio

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 GitHub by AlejandroArmenteros
, 1 year ago
Cannot run program "java": error=2, No existe el archivo o el directorio
via Stack Overflow by Sathiya
, 5 months ago
Cannot run program "powershell.exe": CreateProcess error=2, The system cannot find the file specified
via GitHub by jmandion
, 9 months ago
Cannot run program "___REMOVE___/bin/avrdude": CreateProcess error=2, El sistema no puede hallar el archivo especificado
via alvinalexander.com by Unknown author, 1 year ago
Cannot run program "": error=2, No such file or directory
via Stack Overflow by Paul Verest
, 2 years ago
Cannot run program "java" (in directory "/home/jenkins/jenkins-home/workspace/Atlas_Phevos"): java.io.IOException: error=2, No such file or directory
via Stack Overflow by jm li
, 11 months ago
Cannot run program "java -version": CreateProcess error=2, The system cannot find the file specified
java.io.IOException: Cannot run program "java": error=2, No existe el archivo o el directorio
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at io.druid.indexing.overlord.ForkingTaskRunner$1.call(ForkingTaskRunner.java:365)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
8 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
156 more bugmates

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