首先配置好jdk的环境变量

%JAVA_HOME%\bin;注意:一定是英文状态下的分号结尾

%TOMCAT%\bin;注意:一定是英文状态下的分号结尾

 

service.bat install


 

service.bat uninstall