This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Asking Again Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Asking Again" Watch "Asking Again" New topic
Author

Asking Again

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

I am wondering if anyone has had a problem with System.exit(0) on a Windows XP system.
When I exit my app using that method, it does not kill main and I have to manually end the dos window which gives me the End Now prompt since main is still running.
Any advice and/or help would be appreciated.
P.S. please do not respond with comments on personal opinions of MS and/or WinXP.
Thanks

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


GenRocket - Experts at Building Test Data
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

Post your code (or a stripped down version that reproduces the problem you're seeing) and I'll try running it on my XP box.

------------------
- Jessica Bradley
HP Bluestone


- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Here you go Jessica this will let you know if System.exit is a problem on XP. I don't have XP or access.

Eric Johnson
Ranch Hand

Joined: Apr 30, 2001
Posts: 49
http://java.sun.com/getjava/download.html
sun's xp plugin.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

I am running an application, not an applet, but thanks.
------------------
Happy Coding,
Gregg Bolinger
 
 
subject: Asking Again