服务器后台自动运行jar包

服务器后台自动运行jar包

进到服务器中jar目录,然后输入命令


nohup java -jar xxx.jar >logs.txt &

猜你喜欢

转载自blog.csdn.net/qq_44255146/article/details/116165283