j2sdk1.5.*环境变量配置和Tomcat5.*环境变量配置
第一大步:按次序安装完j2sdk1.5.*和Tomcat5.*。暂不运行。
j2sdk1.5.*的安装目录为C:/Program Files/Java
(安装j2sdk1.5时会安装两个目录
C:/Program Files/Java/j2re1.5.0和C:/Program Files/Java/j2sdk1.5.0
配置CLASSPATH环境变量时只需要用到C:/Program Files/Java/j2sdk1.5.0)
Tomcat5.*的安装目录为C:/Program Files/Tomcat 5.0
安装Tomcat时有一步自动寻找到以下目录不要修改:
Please select the path of the JVM installed on your system
C:/Program Files/Java/j2re1.5.0
第二大步:配环境变量
在原有path变量加入:
C:/Program Files/Java/j2sdk1.5.0/bin;C:/Program Files/Tomcat 5.0/bin;
新增CLASSPATH变量值为:
.;C:/Program Files/Java/j2sdk1.5.0/lib/dt.jar;C:/Program Files/Java/j2sdk1.5.0/lib/tools.jar;C:/Program Files/Java/j2sdk1.5.0/jre/lib/rt.jar;C:/Program Files/Tomcat 5.0/common/lib/servlet-api.jar;C:/Program Files/Tomcat 5.0/common/lib/jsp-api.jar;
至此完毕!