安装版tomcat5.208注册为windows服务

进入tomcat安装路径的bin下找到service.bat
Usage:   service.bat   install/remove   [service_name]  
   
C:\Documents and Settings\guoy>d:

D:\>cd D:\Tomcat 5.0\bin

D:\Tomcat 5.0\bin>service install
Installing the service 'Tomcat5' ...
Using CATALINA_HOME:    D:\Tomcat 5.0
Using JAVA_HOME:        D:\Program Files\Java\jdk1.6.0_10
The service 'Tomcat5' has been installed.

D:\Tomcat 5.0\bin>


删除服务命令:service remove

你可能感兴趣的:(java,tomcat,C++,c,windows)