I have some app and sometimes is lagging. It's mean I need restart program - run same JAR file from desktop.
How can I do this?
My idea is:
runNewInstanceOfProgram(); //how can I start new process if same jar file?
closeActualProgram(); //some System.exit(0);
Thank you for any help.