(1) Check whether the jar is running
ps -ef |grep java|grep jar包名.jar
(2) Query java to run all
ps -ef |grep java
(3) Stop the jar package
kill -9 pid号
(4) Start the jar package
nohup java -jar jar包名称.jar > nohup.out 2>&1 &
(5) Start directly to see if it can be started
java -jar jar包名称.jar
When using the direct start command, this exit directly shuts down the start