Run java jar file on a server as background process


The & symbol, switches the program to run in the background.
The nohup utility makes the command passed as an argument run in the background even after you log out.
nohup java -jar /web/server.jar &

Post a Comment

Previous Post Next Post