> How can I make a method being called before the jvm exits when killing

> the jvm (or pressing Ctrl-C if its in the foreground)?


I believe you need to handle it using JNI and calling C code (not very
portable)
The following software does this for you:

    http://interstice.com/~kevinh/projects/javasignals/index.html

Marcel


--
Marcel Ruff
[EMAIL PROTECTED]
http://www.lake.de/home/lake/swand/




----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to