I believe if you look in the start up script, tomcat.sh, you'll see that it
attempts to "figure out" where JAVA_HOME is.  If you set this value
explicitly in that start-up script, it should work correctly (at least it
did for me ...)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jianping Zhu
Sent: Wednesday, March 06, 2002 3:19 PM
To: [EMAIL PROTECTED]
Subject: how to set env varible


I am istalling tomcat which need an env varible JAVA_HOME point to JDK
I need to set an env varible JAVA_HOME point to directoy /usr/java

I did this by adding 2 line to etc/profile

JAVA_HOME=/usr/java:$JAVA_HOME
export JAVA_HOME

I used source profile, it's fine.
But I try to start tomcat, it gives me error message:
JAVA_HOME env varible is not defined



Any suggetion?
Thanks
--------------------------------
Jianping Zhu
Department of Computer Science
Univerity of Georgia
Athens, GA 30602
Tel 706 5423900
--------------------------------



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to