I use System.exit()
, but it would always call the JVM shutdown hook. How can I shut down a Java process programmatically but not invoke the JVM shutdown hook ?
Asked
Active
Viewed 556 times
3

Michael Piefel
- 18,660
- 9
- 81
- 112

zjffdu
- 25,496
- 45
- 109
- 159
-
3Just out of curiosity, what is your use case for this? – Lii Jun 02 '15 at 11:21