Have you ever wanted to switch the JVM that Tomcat 4.1.x uses when starting as a service?
It's easy enough when you start Tomcat from the batch scripts, they use JAVA_HOME.
But the JVM is chosen at installation time for the Tomcat service.
So to change it use regedit. 1. STOP the tomcat service! 2. Using regedit, go to HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Apache Tomcat 4.1\Parameters\ 3. Change the value of the JVM Library value examples: c:\jdk141_02\jre\bin\server\jvm.dll C:\Program Files\JavaSoft\JRE\1.3.1_07\bin\hotspot\jvm.dll
Thanks Mike, That was useful! However, when I installed my Tomcat 4.0 earlier, the installation was as simple as extracting files from zip to a directory and changing few simple configuration. I loved the simplicity and transperancy that sort of installation gave me. Didn't know that now Tomcat also requires messing up the registry! - Manish
You'll only get an entry in the registry if tomcat is installed as a Service. Either by installing tomcat from the '.exe' version or after unzipping the '.zip' version installing the Service manully. Rene [ June 01, 2003: Message edited by: Rene Larsen ]