May be this question is too simple, but I am unable to find a solution anywhere.
I am running a webapp in Tomcat on JVM. I need to stop the JVM by invoking Control-Break. I need to do it from within the Java code. I don't know how to do it.
Can you please help me here? Thanks in advance!