I have tomcat (9.0.22) running as a service on Windows with Oracle's Java 8. I 
now want to move this to OpenJdk 12 to keep current and I have quite some 
problems to have tomcat find the OpenJdk installation. With Oracle it just 
worked with the Jvm=auto option for the tomcat service. With OpenJdk I only got 
it to work by messing around with JAVA_HOME, which is no fun especially for 
services. Without it tomcat doesn't find Java or uses Oracle's if I don't 
remove it first.

Now is this a tomcat problem or a OpenJdk installation problem?

For OpenJdk I used 

https://github.com/ojdkbuild/ojdkbuild/releases/download/12.0.1-1/java-12-openjdk-12.0.1.12-1.windows.ojdkbuild.x86_64.msi

and have the installer set the Windows Registry entries under JavaSoft

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JDK\12.0.1

>From what I found on the net these Registry settings changed with Java 9. 

So what am I doing wrong?

Thanks,
Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to