Capture SIGINT in Java
<p>What is the best way to capture a kill signal in java without using JNI. I did discover the sun.misc.Signal and the sun.misc.SignalHandler and the warning of the possibility of being removed in the future releases. </p>

<p>Would using JNI to call a c lib be the only option i have? </p>
