java.io.IOException: Cannot run program "python": error=7, Argument list 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 GitHub by CharlesZ-Chen
, 1 year ago
Cannot run program "python": error=7, Argument list too long
via GitHub by CharlesZ-Chen
, 1 year ago
Cannot run program "python": error=7, Argument list too long
via GitHub by CharlesZ-Chen
, 1 year ago
Cannot run program "python": error=7, Argument list too long
via Stack Overflow by Shubhankar Raj
, 2 years ago
Cannot run program "git": error=2, No such file or directory
via Google Groups by user3738208 via StackOverflow, 2 months ago
Cannot run program "C:\Program Files\Java\jdk1.7.0_79\jre\bin\java.exe" (in directory "C:\Users\MyName\AppData\Local\Temp"): CreateProcess error=206, The filename or extension is too long
via GitHub by davido
, 2 years ago
Cannot run program "gcc": CreateProcess error=5, Access denied
java.io.IOException: Cannot run program "python": error=7, Argument list too long
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 java.lang.Runtime.exec(Runtime.java:620)
at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:629)
at org.apache.tools.ant.taskdefs.ExecuteOn.runParallel(ExecuteOn.java:715)
at org.apache.tools.ant.taskdefs.ExecuteOn.runExec(ExecuteOn.java:478)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.Main.runBuild(Main.java:853)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)

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
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
133 more bugmates

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