java.io.IOException: CreateProcess: set error=2

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 Dan Jackson, 1 year ago
CreateProcess: set error=2
via Google Groups by Dima, 2 years ago
CreateProcess: cd \pgp error=2
via Google Groups by Troy Dugger, 2 years ago
CreateProcess: "cmd /c java AddressBoookGUI" error=2
via Oracle Community by 3004, 1 year ago
via Oracle Community by 3004, 1 year ago
via Netbeans Bugzilla by garamchitthi, 1 year ago
CreateProcess: C:AppsXEmacsXEmacs- 21.4.13i586-pc-win32xemacs.exe -eval "(progn (setq load- path (cons "C:Documents and Settingssudpank.netbeans3.5emacs" load-path)) (require 'netbeans) (netbeans-connect "localhost" 3219 "changeme") (netbeans-init-openfiles))" error=2
java.io.IOException: CreateProcess: set error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.(Win32Process.java:64)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:300)
at java.lang.Runtime.exec(Runtime.java:247)

Users with the same issue

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

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