java.io.IOException: CreateProcess: "cmd " "/C " c:/index.html 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

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

,
Expert tip

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

Solutions on the web

via Oracle Community by 807549, 1 year ago
CreateProcess: "cmd " "/C " c:/index.html error=2
via Oracle Community by 807554, 1 year ago
CreateProcess: start /B cmd /c myprogram.bat error=2
via xmlbeans-user by Yana Kadiyska, 1 year ago
CreateProcess: D:\www\testbed\javac@C:\DOCUME~1\jay\LOCALS~1\Temp\javac15795 error=2
via xmlbeans-user by n p, 1 year ago
CreateProcess: D:\www\testbed\javac@C:\DOCUME~1\jay\LOCALS~1\Temp\javac15795 error=2
via xmlbeans-user by n p, 1 year ago
CreateProcess: D:\www\testbed\javac@C:\DOCUME~1\jay\LOCALS~1\Temp\javac15795 error=2
via Oracle Community by 843798, 1 year ago
CreateProcess: erase C:\java\message_folder\21JlXh0A.txt error=0
java.io.IOException: CreateProcess: "cmd " "/C " c:/index.html error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.(Win32Process.java:63)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:491)
at java.lang.Runtime.exec(Runtime.java:457)
at undefined.OpenHtml.main(OpenHtml.java:10)

Users with the same issue

You are the first who have seen this exception.

Write tip

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