View Single Post
  #1 (permalink)  
Old 07-30-2007, 06:19 PM
valery valery is offline
Member
 
Join Date: Jul 2007
Posts: 32
valery is on a distinguished road
Error while setting up enviroment for this application
I have a java program that needs to execute a C program during its operation. I have used the following line of code in my program:

Code:
Process p = Runtime.getRuntime().exec("SRTPUT");

It compiles fine but when i run the program it returns to me this error:

Code:
16 bit MS-DOS Subsystem C:\WINDOES\system32\ntvdm.exe Error while setting up environment for this application. Choose 'Close' to terminate the application

what's the problem?

thanks
Reply With Quote
Sponsored Links