java.io.IOException: Cannot run program "COPY": 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 Coderanch by john bullwinkle, 1 year ago
Cannot run program "COPY": CreateProcess error=2, The system cannot find the file specified
via Stack Overflow by Lucas Baizer
, 2 years ago
Cannot run program "nircmd.exe": CreateProcess error=32, The process cannot access the file because it is being used by another process
via Stack Overflow by Rafael
, 2 years ago
Cannot run program "closures/bin/javac": java.io.IOException: error=2, No such file or directory
via Google Groups by AimsLife, 2 years ago
Cannot run program "cls": CreateProcess error=2, The system cannot find the file specified
via Stack Overflow by user1758401
, 2 years ago
Cannot run program "editor.java": CreateProcess error=2, The system cannot find the file specified
via Stack Overflow by Houssem Bdr
, 2 years ago
Cannot run program "nullroot": CreateProcess error=2, The system cannot find the file specified
java.io.IOException: Cannot run program "COPY": CreateProcess error=2, The system cannot find the file specified
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)
at servicetech.SelectionScreen.getFileNames(SelectionScreen.java:338)

Users with the same issue

Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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