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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, August 14, 2002 5:13 PM >To: [EMAIL PROTECTED] >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- >[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]>
This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
