jdk配置
path
.;D:\Program Files\Java\jdk1.6.0_30\bin;
classpath
,;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%lib\dt.jar
JAVA_HOME
D:\Program Files\Java\jdk1.6.0_30 (此项是tomcat必须的配置(不是jdk必须的),没有配置此项,tomcat无法启动,注意前面不加.;)
tomcat配置
CATALINA_BASE
D:\Program Files\apache-tomcat-7.0.2
CATALINA_HOME
D:\Program Files\apache-tomcat-7.0.2
CATALINA_TMPDIR
D:\Program Files\apache-tomcat-7.0.2\temp
path追加
%CATALINA_HOME%\bin