Tomcat9注册windows服务

注册服务
D:\programs\tomcat\bin>service.bat install tomcat9
Installing the service 'tomcat9' ...
Using CATALINA_HOME: "D:\programs\tomcat"
Using CATALINA_BASE: "D:\programs\tomcat"
Using JAVA_HOME: "D:\programs\Java\jdk8"
Using JRE_HOME: "D:\programs\Java\jdk8\jre"
Using JVM: "D:\programs\Java\jdk8\jre\bin\server\jvm.dll"
The service 'tomcat9' has been installed.
修改服务显示名称
D:\programs\tomcat\bin>tomcat9 //US//tomcat9 --DisplayName="TomcatServer9"

你可能感兴趣的:(Tomcat9注册windows服务)