J
John Shepard
I am trying to get Tomcat running and am having problems. I have
installed both Java and Tomcat, and I have set up the environmental
vars. When I run java programs, I have no dificulties, but when I run
Tomcat's startup.sh I get an erro mesage indicating that JAVA_HOME is
not defined correctly. Does anyone have a theory?
Thanks in advance
John Shepard
Software
Red Hat Linux 9.0
java enterprise edition 1.4 beta 2
Tomcat 1.4.27
Lines in /etc/profile
export JAVA_HOME=/usr/local/sun/j2eesdk1.4_beta2
export CATALINA_HOME=/usr/local/jakarta-tomcat-4.1.27
export
PATH=$JAVA_HOME/bin:$JAVA_HOME/jdk/bin:$PATH:$HOME/bin:/sbin:/usr/sbin
export
CLASSPATH=./:$JAVA_HOME:$JAVA_HOME/lib/:$CATALINA_HOME/bin/:$CATALINA_HOME/common/lib/
Error message
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
installed both Java and Tomcat, and I have set up the environmental
vars. When I run java programs, I have no dificulties, but when I run
Tomcat's startup.sh I get an erro mesage indicating that JAVA_HOME is
not defined correctly. Does anyone have a theory?
Thanks in advance
John Shepard
Software
Red Hat Linux 9.0
java enterprise edition 1.4 beta 2
Tomcat 1.4.27
Lines in /etc/profile
export JAVA_HOME=/usr/local/sun/j2eesdk1.4_beta2
export CATALINA_HOME=/usr/local/jakarta-tomcat-4.1.27
export
PATH=$JAVA_HOME/bin:$JAVA_HOME/jdk/bin:$PATH:$HOME/bin:/sbin:/usr/sbin
export
CLASSPATH=./:$JAVA_HOME:$JAVA_HOME/lib/:$CATALINA_HOME/bin/:$CATALINA_HOME/common/lib/
Error message
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program