tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: SOLUTION Re: can't find javac tomcat 5.0.30 jdk1.5.0
Date Wed, 01 Dec 2004 13:54:04 GMT

Hmm.... Thanks for posting your findings and solution, and I'm glad it
works for you now.

Yoav Shapira

>-----Original Message-----
>From: D. Stimits []
>Sent: Tuesday, November 30, 2004 4:16 PM
>To: Tomcat Users List
>Subject: SOLUTION Re: can't find javac tomcat 5.0.30 jdk1.5.0
>D. Stimits wrote:
>> Shapira, Yoav wrote:
>>> Hi,
>>> Try to set JAVA_HOME and CATALINA_HOME explicitly in your
>>> $CATALINA_HOME/bin/ file, to see if that makes a
>> This was one of the first things I tried. I explicitly set JAVA_HOME
>> CATALINA_HOME as a test. It is looking for javac in
>> /opt/jdk1.5.0/bin/javac, and failing to find it, so it is looking in
>> right place (maybe with eyes closed).
>I found a solution...though I still am not sure of why it failed
>Instead of hard coding CATALINA_HOME and JAVA_HOME into the various
>shell scripts, I added bin/ and used export JAVA_HOME and
>export CATALINA_HOME there. Combined with "classic" compiler setting (I
>was trying this before it didn't help without the it now
>works. In reality it currently has the settings in all of the .sh
>I have not tested after removing it from those, but the magic seems to
>be, it seems it propagates the environment in some way that
>the same export statements fail to do from the other files:
>export JAVA_HOME="/opt/jdk1.5.0"
>export CATALINA_HOME="/usr/local/jakarta-tomcat-5.0.30"
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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:
For additional commands, e-mail:

View raw message