绿色版tomcat配置jdk路径
来源:岁月联盟
时间:2011-12-19
tomcat/bin/在startup.bat文件中加入:
SET JAVA_HOME=JDK目录
SET CATALINA_HOME=解压后Tomcat的目录
SET JAVA_HOME=E:/hi-studio/jdk1.5
SET CATALINA_HOME=D:/Program Files/Apache Software Foundation/tomcat5.0.28
tomcat6
classpath=.;%java_home%/lib/tools.jar;%java_home%/lib;D:/Tomcat 6.0.18/lib/servlet-api.jar;
java_home=C:/Program Files/Java/jdk1.6.0_14;
path=%java_home%/bin;%java_home%/;.;
摘自 YH55的专栏
上一篇:有关linux内核面试题
下一篇:qmail邮件队列修复工具