tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Foo Shyn" <foos...@optegra.com.my>
Subject Re: Multiple JAVA_HOME variables
Date Mon, 12 Feb 2007 10:45:25 GMT
Hi,

I did just that but my Tomcat doesn't start completely. When i try to access 
the jsp page there'll be error thrown out...

Thanx.
Regards,
FooShyn
----- Original Message ----- 
From: "Peter Crowther" <Peter.Crowther@melandra.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Monday, February 12, 2007 6:41 PM
Subject: RE: Multiple JAVA_HOME variables


> From: Foo Shyn [mailto:fooshyn@optegra.com.my]
> I'm facing a situation here whereby a JRE 1.5 is
> pre-installed on a server, and a JAVA_HOME variables is thus
> created and pointed to the JRE.
> However i'll need to have it point to my JDK in order for me
> to use Tomcat. Any tricks or settings that i can use to make
> this possible?
> I can't change the JAVA_HOME value though :(
>
> My settings:
>
> OS: Windows Server 2003
> Tomcat: 4.1.31
> JDK: 1.4.2_12

A cheap solution: Use the zip distribution of Java - i.e. don't run it
as a service.  Tweak the startup.bat script to use your preferred
JAVA_HOME.  If you need the service to start as the machine restarts,
use SRVANY to register the .bat as a service.

- Peter

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




-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.17.31/676 - Release Date: 2/8/2007 
3:04 PM




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


Mime
View raw message