Updating services

To update the service parameters, you need to use the //US// parameter.

 

Update the service named ‘Tomcat8’

C:\> tomcat8 //US//Tomcat8 –Description=”Apache Tomcat Server – http://tomcat.apache.org/ ” \

C:\> –Startup=auto –Classpath=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar

If you gave the service an optional name, you need to specify it like this:

Update the service named ‘MyService’

C:\> tomcat8 //US//MyService –Description=”Apache Tomcat Server – http://tomcat.apache.org/ ” \

C:\> –Startup=auto –Classpath=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar

Installing services
Removing services

Get industry recognized certification – Contact us

keyboard_arrow_up
Open chat
Need help?
Hello 👋
Can we help you?