1 posts in topic
Flat View  Flat View

Posted By:   Kiran_M
Posted On:   Friday, April 6, 2001 06:59 AM

When I execute and Java file from DOS prompt in Windows 2000 and in the application, when I call System.exit(0), it is not coming back to DOS prompt as it used to do in case of WinNT & Win95.
Can you suggest a solution???

Re: System.exit(0)

Posted By:   John_Zukowski  
Posted On:   Friday, April 6, 2001 08:35 AM

This works fine for me every time. Without seeing some source about what your specific problem is.... Try creating an isolated test case, like a main() method with just a call to System.exit().

If it doesn't return, what does happen? Is the Java process still showing up in the Task Manager?
About | Sitemap | Contact