You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sa...@WellsFargo.COM on 2002/08/14 23:12:33 UTC

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>