Skip to content
Advertisement

Tag: restart

Create a new process in Java, exit the current process

In my code, I want to restart the program. For this i have used the following code in Windows: For Linux Builds I used So now, the implementation for Windows works just fine. It begins a new instance and exits the old. But the Linux implementation is kinda a bit odd. I added System.exit(0); thinking that it will kill the

Advertisement