This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes System.exit(0) on WinXP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "System.exit(0) on WinXP" Watch "System.exit(0) on WinXP" New topic
Author

System.exit(0) on WinXP

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Has anyone had a problem with System.exit(0) on a Windows XP machine? It doesn't seem to work. main() never gets killed. But there is no error in runtime or compiling

------------------
Happy Coding,
Gregg Bolinger


GenRocket - Experts at Building Test Data
Eric Johnson
Ranch Hand

Joined: Apr 30, 2001
Posts: 49
CrummyOs winXp = new CrummyOs();
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Thanks for the Opinion. Not a valid answer though. I do NOT want this to go into an OS war. Please respond with valid answers. If you don't know, do not comment on the OS. Just don't reply.
Thanks

------------------
Happy Coding,
Gregg Bolinger
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: System.exit(0) on WinXP
 
Similar Threads
how to kill main thread and relative subthread?
How to stop all activities and exit from android application
Exceptions...
Terminate an application
Terminate a Java program.