启动 run.bat:
@echo off start java -jar xxx-1.0.0.57-SNAPSHOT.jar exit
停止stop.bat:
@echo off taskkill -f -t -im javaw.exe exit
注:使用java和javaw效果是一样的,但java会显示控制台启动信息,当有错误时容易发现。