Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.io.IOException: CreateProcess: cmd.exe - any ideas?

807607Oct 13 2006 — edited Oct 14 2006
Hello,

One of our users has provided me with the following debug info:

java.io.IOException: CreateProcess: cmd.exe /c start "" "http://www.domain.com/" error=2
java.lang.ProcessImpl.create(Native Method)
java.lang.ProcessImpl.(Unknown Source)
java.lang.ProcessImpl.start(Unknown Source)
java.lang.ProcessBuilder.start(Unknown Source)
java.lang.Runtime.exec(Unknown Source)
java.lang.Runtime.exec(Unknown Source)

I've done some reading up and it seems error=2 means file not found. I don't understand why this is the case becuase our installer ensures that the windows\system32\ directory is included in the path environment variable so cmd.exe should run okay....

Has anyone ever come across this problem before, or know how to fix it?

Many thanks

BBB
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 11 2006
Added on Oct 13 2006
1 comment
361 views