permaculture playing cards*
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 Java 8 in Action this week in the Java 8 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: 15292
    
    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: 15292
    
    6

I am running an application, not an applet, but thanks.
------------------
Happy Coding,
Gregg Bolinger
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Asking Again
 
Similar Threads
A simple sample of FileStreams
Program doesn't terminate itself
Having problem compiling this answer
how to change Windows end task icon
reading input from keys