java.io.IOException: Cannot run program "perl" (in directory "D:\apache-tomcat-7.0.70\webapps\vvv\WEB-INF\cgi"): CreateProcess error=2, The system cannot find the file specified

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 Stack Overflow by yaswanth
, 1 year ago
Cannot run program "perl" (in directory "D:\apache-tomcat-7.0.70\webapps\vvv\WEB-INF\cgi"): CreateProcess error=2, The system cannot find the file specified
via rstforums.com by Unknown author, 1 year ago
Cannot run program "bash" (in directory "C:\Users\Stalin"): CreateProcess error=2, The system cannot find the file specified
via GitHub by asmoiseenko
, 7 months ago
Cannot run program "sql" (in directory ".\db\scripts"): CreateProcess error=2, The system cannot find the file specified
via Google Groups by Vaibhav Borhade, 9 months ago
Cannot run program "grep" (in directory "D:\jna- master\build\native-win32-x86-64"): CreateProcess error=2, The system cannot find the file specified
via Stack Overflow by pstanton
, 2 years ago
Cannot run program "myfile.bat" (in directory "C:\mydir"): CreateProcess error=2, The system cannot find the file specified
via Stack Overflow by hossayni
, 2 years ago
Cannot run program "octave": CreateProcess error=2, The system cannot find the file specified
java.io.IOException: Cannot run program "perl" (in directory "D:\apache-tomcat-7.0.70\webapps\vvv\WEB-INF\cgi"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)

Users with the same issue

Once, 4 months ago
Once, 6 months ago
6 times, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago

Write tip

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