commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph S Chung <jsch...@itsd.gov.hk>
Subject JAVA_HOME variable problem
Date Tue, 24 Jun 2003 03:39:42 GMT

I am using Redhat 9.0 and want to setup Tomcat.

I follow instruction from the link below
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/RUNNING.txt

And the following items are downloaded and installed
1. j2re-1_4_103-linux-i586-rpm.bin
2. j2sdk-1_4_103-linux-i586-rpm.bin
3. jakarta-tomcat-5-bin-20030619.tar.gz

With "echo $JAVA_HOME", I get "/usr/java/j2sdk1.4.1_03".

When I run
/usr/local/jakarta-tomcat-5/dist/bin/startup.sh

the following message comes up...

The JAVA_HOME environment variable is not defined
This environment variable is needed to run this program

And then I download and install Tomcat 4.1.6, the same error come up.
Please help.
Thanks.



Mime
View raw message