java.io.IOException: Cannot run program "adb": error=2, No such file or directory

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 Stack Overflow by sam
, 11 months ago
Cannot run program "adb": error=2, No such file or directory
via alvinalexander.com by Unknown author, 1 year ago
Cannot run program "": error=2, No such file or directory
via GitHub by eungchang
, 3 months ago
Cannot run program "cmd" (in directory "frontend"): error=2, No such file or directory
via Stack Overflow by Chandra
, 8 months ago
Cannot run program "/myScript >> /myLogFile 2>&1 <& - &": java.io.IOException: error=2, No such file or directory
via Google Groups by Alan Rosenthal, 5 months ago
Cannot run program >> >>> "/tmp/aapt4649137258269086801": >> >>> error=2, No such file or directory >> >>>
via hive-user by Dilip Joseph, 5 months ago
Cannot run program "null/bin/hadoop": error=2, No >> such file or directory >>
java.io.IOException: error=2, No such file or directory
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 undefined.pb.main(pb.java:24)

Users with the same issue

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

Write tip

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