当前位置: > Linux故障 >

linux系统里tomcat一直起动不了,是红帽子5.0,64位系统

时间:2014-12-25 16:45来源:linux.it.net.cn 作者:IT
linux系统里tomcat一直启动不了,是红帽子5.0,64位系统
JDK安装良好
运行java -version
显示:
java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode)
 
JDK在/usr/java/
tomcat在/usr/local/tomcat/
 
在启动tomcat的时候显示
Cannot find /user/local/tomcat/bin/setclasspath.sh
This file is needed to run this program
 
权限都是777
 
 
 
------解决方案--------------------
echo "BASEDIR=/path/to/tomcat" >> setclasspath.sh
echo "CATALINA_HOME=/path/to/tomcat" >> catalina.sh



(责任编辑:IT)
------分隔线----------------------------