S
Sambucus
Hi all,
anyone who knows how to force a running jvm to shut down like Eclipse
or Jbuilder does when you press their little stop button?
I have this problem with some sockets refusing to shut down (I guess
it is because they are blocking for input). When I run my app from
eclipse and use a normal System.exit(); or
Runtime.getRuntime().halt(0); the app refuses to shut down, however,
if I press eclipses stop/shutdown button it imideatly shuts down the
jmv and all sockets. I would like to know if there is some way to
implement this from within my app?
Any help much appritiated!
/Andreas
anyone who knows how to force a running jvm to shut down like Eclipse
or Jbuilder does when you press their little stop button?
I have this problem with some sockets refusing to shut down (I guess
it is because they are blocking for input). When I run my app from
eclipse and use a normal System.exit(); or
Runtime.getRuntime().halt(0); the app refuses to shut down, however,
if I press eclipses stop/shutdown button it imideatly shuts down the
jmv and all sockets. I would like to know if there is some way to
implement this from within my app?
Any help much appritiated!
/Andreas