Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Oct 2, 2012 4:47 PM by
java.io.IOException: Cannot run program "cmd.exe": CreateProcess error=5
Oct 2, 2012 2:57 PM
As a part of diagnostic effort we copied cmd.exe from system32 folder of windows to C:\\ drive and tried to run from an applet and get following exception :
java.io.IOException: Cannot run program "cmd.exe": CreateProcess error=5, Access is denied
The problem is with JRE 1.7 whereas on JRE 1.6 it runs fine.
Renamed it to cmdx , runs fine.
So any program named as cmd does not run at all.
The applet jar is signed.
This content has been marked as final.
Show 1 reply
Re: java.io.IOException: Cannot run program "cmd.exe": CreateProcess error=5
Oct 2, 2012 4:47 PM
in response to