Programming

(Java) How can I restart a Java application?

steloflute 2012. 12. 30. 18:33

http://stackoverflow.com/questions/4159802/how-can-i-restart-a-java-application


Eclipse typically restarts after a plugin is installed. They do this using a wrapper eclipse.exe (launcher app) for windows. This application execs the core eclipse runner jar and if the eclipse java application terminates with a relaunch code, eclipse.exe restarts the workbench. You can build a similar bit of native code, shell script or another java code wrapper to achieve the restart.