tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerry Ford <jf...@katzenjammer.us>
Subject Re: $JAVA_HOME error
Date Wed, 04 Feb 2004 23:31:26 GMT
Tony:

Try it with just the startup.sh command, without the leading sh.

Jerry

Tony Sutton wrote:

>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@tsutton tony]$ which java
>/usr/java/j2re1.4.2_03/bin/java
>[tony@tsutton tony]$ echo $JAVA_HOME
>/usr/java/j2re1.4.2_03
>[tony@tsutton tony]$
>
>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@tsutton bin]$ sh startup.sh
>The JAVA_HOME environment variable is not defined correctly
>This environment variable is needed to run this program
>[tony@tsutton bin]$
>
>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@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message