heh 0 Posted September 12, 2022 Share Posted September 12, 2022 Hi guys, I'm trying to change old OpenJDK13 to Coretto17 on existing instalation. Now I have: java -version openjdk version "17.0.4.1" 2022-08-12 LTS OpenJDK Runtime Environment Corretto-17.0.4.9.1 (build 17.0.4.1+9-LTS) OpenJDK 64-Bit Server VM Corretto-17.0.4.9.1 (build 17.0.4.1+9-LTS, mixed mode, sharing) JAVA_HOME and PATH environment variables seems to be OK. But EP is still using OpenJDK13. What else I must change? Tx Link to comment Share on other sites More sharing options...
DSPoole 0 Posted October 14, 2022 Share Posted October 14, 2022 Tomcat is running in a custom configuration. You need to use the tomcat9w.exe application from the C:\Program Files\Apache Software Foundation\apache-tomcat-<version#>\bin folder. Then select the Java tab. From there you will see the path Tomcat is using for the Java Virtual Machine - replace that path with the new Java path and press the OK button to make the changes. Restart Tomcat service (or the entire server to be safe) - it should work at that point. FYI: I moved from OpenJDK13 to OpenJDK18 and had this same problem because the path for Java changed with the version number. Link to comment Share on other sites More sharing options...
Recommended Posts