By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,798 Members | 1,336 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,798 IT Pros & Developers. It's quick & easy.

System.exit(0) hangs on solaris

P: n/a
I have a java application, which generates a html file. Here is how
main method looks like

public static void main(String args[])
//Create a new file using File class.
//Make backend calls and get data.
//Write to the file using filewriter and close the file.
System.out.println("abc.html is generated succesfully");

This code works fine on windows environment, but when put it on Unix
solaris environment, it just hangs. On Solaris, it prints the above
System.out statement fine and even generates abc.html, but it just
hangs at System.exit(0).
Any clues how to fix this? How to make this application exit on
Any help will be highly appriciated.
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.