setup runtime variable for Tomcat

setup runtime variable:(from http://blog.csdn.net/fivesky/archive/2004/09/26/117045.aspx)
---------------
折腾了好多天了,有些地方老是不清楚,记下来,万一重装,也好备查。
我装的两个安装文件是JDK1.42.exe和jakarta-tomcat-5.0.14.exe,安装路径分别为:D:\jdk1.42 和 D:\Tomcat5 对了,系统是win2000;
开始配置环境变量了:
Path中添加 D:\Tomcat5\bin;D:\jdk1.42\bin
新建变量如下:
CATALINA_HOME   值为 D:\Tomcat5 
CLASSPATH   值为 .;D:\jdk1.42\lib\tools.jar;D:\jdk1.42\lib\dt.jar;D:\jdk1.42\bin;d:\tomcat5\common\lib\servlet-api.jar;前面的.;不可少
JAVA_HOME  值为 D:\jdk1.42
初步试验,应该没问题了。
--------------------------------------------
But after i set these variable, then input
c:\ cd %catalina_home%\bin\startup
tomcat still can't be started.

Solution: delete the former files in c:\jakarta

uppack a new one in it. Work!

posted on 2004-11-01 10:17  猎人小屋  阅读(716)  评论(0编辑  收藏  举报

导航