Tomcat has knowledge of what version java is if it can find where java home
dir is.

take a look at the startup file (.bat for windows and .sh for linux/unix),
you will have a brief idea on how tomcat starts

On 9/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

So Tamcat has no information about the Java version to use by itself? This
is hard to believe, because the System where Tomcat is running on never
had
a JAVA_HOME path defiend and Tomcat run great on it until the Java update.
Also during the Tomcat installation process the wizard asks for an Java
installation to run with. This information must be stored somewhere.


-----Ursprüngliche Nachricht-----
Von: Li [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 22. September 2006 09:46
An: Tomcat Users List
Betreff: Re: Java path


in windows:

echo %JAVA_HOME% see if there is anything

in linux/unix

echo $JAVA_HOME see if there is anything

normally if you export JAVA_HOME, and add to path, you should be able to
use
tools in /bin directly

so make sure your JAVA_HOME is exported

On 9/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello List,
>
> I ve Tomcat5 running and updated Java. Since then Tomcat refuses to
start
> up
> because it can not find Java anymore. Where can I define the Java path
for
> Tomcat to work with? I tried to set JAVA_HOME, but Tomcat still would
not
> work :(
>
> Thanks!
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
When we invent time, we invent death.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
When we invent time, we invent death.

Reply via email to