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