Skip to Main Content

Java SE (Java Platform, Standard Edition)

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!

Runtime.exec() and ProcessBuilder error: ntvdm.exe

843798Jul 12 2005 — edited Jul 12 2005
Hi,

I have been using Runtime.getRuntime().exec() to launch external processes, but it stopped working after I suddenly got this error in a dialog box:

============================================================================
16 Bit MS-DOS Subsystem
C:\WINDOWS\system32\ntvdm.exe
Error while setting up environment for the application. Choose 'Close' to terminate the application.
============================================================================

I tried using a ProcessBuilder, and the error persists. I've searched for answers on other websites without much luck.

I am running Windows XP.

Can anyone help please?

Thank you!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 9 2005
Added on Jul 12 2005
1 comment
165 views