#当前窗口退出 项目关闭$ java -jar test.jar
#当前窗口关闭 项目关闭$ nohup java -jar test.jar &#当前窗口关闭 项目不关闭$ nohup java -jar test.jar &#当前窗口关闭 项目不关闭 并写日志$ nohup java -jar test.jar >log.txt &