You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Shapira, Yoav" <Yo...@mpi.com> on 2002/08/15 17:09:29 UTC

RE: Solaris startup.sh error! 'The JAVA_HOME environment variable is not defined properly'

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>