tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <>
Subject RE: Multiple JAVA_HOME variables
Date Mon, 12 Feb 2007 10:41:22 GMT
> From: Foo Shyn [] 
> 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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message