Windows 7 Forums


Windows 7: java.io.IOException: Cannot run program "cmd.exe": CreateProcess error

02 Oct 2012   #1

Windows 7 32 bit
 
 
java.io.IOException: Cannot run program "cmd.exe": CreateProcess error

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.

My System SpecsSystem Spec

Reply

 java.io.IOException: Cannot run program "cmd.exe": CreateProcess error problems?



Thread Tools



Similar help and support threads for: java.io.IOException: Cannot run program "cmd.exe": CreateProcess error
Thread Forum
Can't copy or move files - error message "open in other program" General Discussion
Java Error "Cannot Copy to the Clipboard" Software
Is "There was an error sending the command to the program" a virus? System Security
"Floating point division by zero." Error in random homebrew program. Software
Get "open in another program" error when moving file General Discussion


All times are GMT -5. The time now is 06:01 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32