do
export JAVA_HOME=/usr/java/j2re1.4.2_03
export PATH=$JAVA_HOME/bin:$PATH
cd jakarta-tomcat-4.1.29/bin/
chmod +x startup.sh
./startup.sh
Filip
-----Original Message-----
From: Tony Sutton [mailto:Tony@(protected)]
Sent: Wednesday, February 04, 2004 3:14 PM
To: tomcat-user@(protected)
Subject: $JAVA_HOME error
Hi there,
I'm new to using jakart.
I'm trying to get jakart v4.1.29 to run under Mandrake 9.1
I have downloaded and installed JRE from Sun, version 1.4.2_03. The
installation went well. Here's the output from my Linux box:
[tony@(protected)
/usr/java/j2re1.4.2_03/bin/java
[tony@(protected)
/usr/java/j2re1.4.2_03
[tony@(protected)]$
OK so far.
However, I tried to start jakart by going to the jakarta-tomcat-4.1.29/bin/
directory and typed in:
sh startup.sh
I get this error message:
[tony@(protected)
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
[tony@(protected)]$
I can't figure out what I am doing wrong. I have tried googling for it, but
it came back very little.
Does anyone know why I am getting this error message?
Thanks,
Tony Sutton
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)