How to successfully kill a java process and restart it in unix?
Instead of starting the app from the server itself, you could do a script like this:
#!/bin/shwhile [ 1 ]do nohup java -Xmx200m -classpath bin server.Main;done
This will restart the process once it quits. And after your savestate just exit and it will restart automatically.