> From: Foo Shyn [mailto:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]