tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Solaris startup.sh error! 'The JAVA_HOME environment variable is not defined properly'
Date Thu, 15 Aug 2002 15:09:29 GMT
Hi,
The tomcat startup scripts will not take your environment apparently.
Try
adding
JAVA_HOME=/usr/java1.4/j2sdk1.4.0_01
to $CATALINA_HOME/bin/catalina.sh.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Sandy.Thota@WellsFargo.COM [mailto:Sandy.Thota@WellsFargo.COM]
>Sent: Wednesday, August 14, 2002 5:13 PM
>To: tomcat-user@jakarta.apache.org
>Subject: Solaris startup.sh error! 'The JAVA_HOME environment variable
is
>not defined properly'
>
>
>Hi,
>I have installed tomcat 4.0.4 on solaris 8, ultra box. When I run
>startup.sh, it fails giving me this message,
>'The JAVA_HOME environment variable is not defined properly.
>This environment variable is needed to run this program.'
>
>I'm running /sbin/sh. Tomcat was installed as root. So in /.profile  I
set
>up JAVA_HOME variable,
>JAVA_HOME=/usr/java1.4 (actually I tried /usr/java1.4/j2sdk1.4.0_01)
>export JAVA_HOME.
>when I echo $JAVA_HOME, I can see that it is set. But the error
persists.
>Could some one tell me what am I doing wrong?
>TIA.
>-ST
>
>
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-
>help@jakarta.apache.org>


Mime
View raw message