java.io.IOException: Cannot run program "command with a long input argument": java.io.IOException: error=36, File name too long

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

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

,
Expert tip

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

Solutions on the web

via Coderanch by felipe melo, 1 year ago
Cannot run program "command with a long input argument": java.io.IOException: error=36, File name too long
via Stack Overflow by h3g0r_
, 8 months ago
Cannot run program "/tmp/044713_02085751235915245794688159873.sh": error=2, A file or directory in the path name does not exist.
via coderanch.com by Unknown author, 2 years ago
via nabble.com by Unknown author, 1 year ago
via Coderanch by adam ali ji, 11 months ago
Cannot run program "env": java.io.IOException: error=12, Cannot allocate memory
java.io.IOException: Cannot run program "command with a long input argument": java.io.IOException: error=36, File name too long
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:431)
at java.lang.Runtime.exec(Runtime.java:328)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
109 more bugmates

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