1.拷贝%JAVA_HOME%到Tomcat/jdk目录下
2.在Tomcat/lib/catalina.bat
set JRE_HOME=..\jdk\jre
set JAVA_HOME=..\jdk
set CLASS_PATH=.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
2.在Tomcat/lib/catalina.bat
set JRE_HOME=..\jdk\jre
set JAVA_HOME=..\jdk
set CLASS_PATH=.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;