In Linux running in the background jar package file

## into the corresponding directory Run the following commands 
nohup java -jar F_Server.jar / null &> / dev / null &

It is worth noting that this sentence needs to be added back in command

/null &>/dev/null &

  

Otherwise it will be reported nohup: ignoring input and appending output to 'nohup.out this error

If you add error can also try to switch to an administrator at the front, that is,
sudo  nohup java -jar F_Server.jar /null &>/dev/null &

But if I add, but an error, it is probably because I started is the root user

Guess you like

Origin www.cnblogs.com/inthecloud/p/11469811.html