多Tomcat多JDK部署

1、bin/catalina.bat:
echo Using JAVA_HOME:       %JAVA_HOME%
>>
echo Using JAVA_HOME:      D:\jdk

2、bin/setclasspath.bat:
set _RUNJAVA="%JAVA_HOME%\bin\java"
set _RUNJAVAW="%JAVA_HOME%\bin\javaw"
set _RUNJDB="%JAVA_HOME%\bin\jdb"
set _RUNJAVAC="%JAVA_HOME%\bin\javac"
>>
set _RUNJAVA="D:\jdk5\bin\java"
set _RUNJAVAW="D:\jdk5\bin\javaw"
set _RUNJDB="D:\jdk5\bin\jdb"
set _RUNJAVAC="D:\jdk5\bin\javac"

你可能感兴趣的:(tomcat)