I was going to test shutdown hook in my program, but haven't found any
way to send shutdown event to an application run from the eclipse (run
via run as/debug as). Closest thing I found was "Terminate" in the JVM
context menu, but this is not exactly what I was looking for. Are there
any way to send this event in JDT?