当前位置: 技术问答>linux和unix
linux系统里tomcat一直启动不了,是红帽子5.0,64位系统
来源: 互联网 发布时间:2017-03-16
本文导语: 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的时候显示 Cann...
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
运行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
echo "CATALINA_HOME=/path/to/tomcat" >> catalina.sh