So I have a wrapping tool that runs the bukkit server. It can turn on and off the bukkit server but if the bukkit server closes, bukkit calls a System.exit(0); I could prevent it from happening with a security exception but this creates an uncaught exception that totally breaks bukkit which prevents bukkit from starting up again. Using try catch doesn't work... Can anyone help me on this? PS: The last option is that each build of bukkit I modify the code a bit and repack it and publish my tool along with it. However this is not ideal.