Use tomcat5w.exe and click on the Java tab.
Then click on the 'Use default' ckeck box,
and default JVM will be discovered from registry.
Unckeck that box again and click 'Apply'.
That's it.

Regards,
Mladen.


John Russell wrote:
When tomcat is installed as a Windows service, the following registry
value
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0
\Tomcat5\Parameters\Java\Jvm

points to the jvm.dll for the installed JRE

e.g.

C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll

However, if I updated my JRE this will now point to the wrong version.
I tried to make this registry key a REG_EXPAND_SZ value so I could embed
an environment variable in it, but the tomcat service is unable to read
it.
Does anyone know of a way to keep this key up to date after a JRE
upgrade?  Thanks




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to