java.io.IOException: Cannot run program "sh": error=24, Too many open files

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 inklit
, 1 year ago
Cannot run program "sh": error=24, Too many open files
via Stack Overflow by Bernie Perez
, 2 years ago
Cannot run program "../ccnd/agent/ccnd": error=2, No such file or directory
via GitHub by adam-law
, 2 months ago
Cannot run program "ifconfig": CreateProcess error=2, The system cannot find the file specified
via Stack Overflow by Shubham Khandelwal
, 2 months ago
Cannot run program "svn": CreateProcess error=2, The system cannot find the file specified
via Oracle Community by 523441, 1 year ago
Cannot run program "sh": java.io.IOException: error=2, No such file or directory
via GitHub by yoavst
, 2 years ago
Cannot run program "ndisasm": CreateProcess error=2, The sy stem cannot find the file specified
java.io.IOException: Cannot run program "sh": error=24, Too many open files
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 jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:308)
at jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:282)
at jline.internal.TerminalLineSettings.undef(TerminalLineSettings.java:158)
at jline.UnixTerminal.disableLitteralNextCharacter(UnixTerminal.java:185)
at jline.console.ConsoleReader.readLine(ConsoleReader.java:2448)
at jline.console.ConsoleReader.readLine(ConsoleReader.java:2372)
at jline.console.ConsoleReader.readLine(ConsoleReader.java:2360)
at net.minecraftforge.server.console.TerminalHandler.handleCommands(TerminalHandler.java:36)

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
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
8 times, 1 year ago
156 more bugmates

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