Tim Holloway wrote:JEE is a completely different product than the JRE/JDK with little overlap. However, on the whole you can continue to run older JEE applications (such as webapps) without changes. Tomcat provides all of the JEE libraries, however, so changing JDK versions won't change what JEE versions it supports.
Thanks, Tim. So it looks like...
Tomcat 9 and JDK 9 --> 13 shouldn't require changes.
Tomcat 10 and JDK 13...what about the "targeted at Jakarta EE 9" stuff with Tomcat 10? Would this require recode of webapps and/or migration (they have a migration tool in development)?
salvin francis wrote:
Tommy Griffith wrote:...used setx to temporarily set JAVA_HOME, installed the service with service.bat, then removed the JAVA_HOME with "HKLM...etc.."...
Assuming HKLM stands for HKEY_LOCAL_MACHINE, I don't think you need to modify windows registry at all. Just using the SET JAVA_HOME="bar" command should be fine in your bat file as long as you use the same session.
Hi, Salvin. Yeah, I was setting JAVA_HOME for the service install, but then used HKEY_LOCAL_MACHINE to get it out of there after install.