java.util.concurrent.ExecutionException: java.lang.RuntimeException: 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

,

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

,
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
java.lang.RuntimeException: java.io.IOException: Cannot run program "java": error=2, No existe el archivo o el directorio
via Stack Overflow by i08in
, 1 year ago
via hama-user by Edward J. Yoon, 6 months ago
java.io.IOException: Stream closed
via hama-user by Vincenzo De Leo, 6 months ago
java.io.IOException: Stream closed
via hama-user by Martin Illecker, 6 months ago
java.io.IOException: Stream > closed
via hama-user by Edward J. Yoon, 6 months ago
java.io.IOException: Stream > closed
java.io.IOException: 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

2 times, 1 month ago
Once, 1 month ago
Once, 2 months ago
15 times, 2 months ago
6 times, 3 months ago

Write tip

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