Start-显示控制台窗口
@echo off
for /f "tokens=1" %%i in (‘"jps -l|find /i "ZJCF-BottleWeight-0.0.1""‘) do taskkill /PID %%i /t /f
java -jar ZJCF-BottleWeight-0.0.1.jar
StartServer-不显示控制台窗口
if "%1" == "h" goto begin
start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit
:begin
for /f "tokens=1" %%i in (‘"jps -l|find /i "ZJCF-BottleWeight-0.0.1""‘) do taskkill /PID %%i /t /f
java -jar ZJCF-BottleWeight-0.0.1.jar