Jump to content

How to switch OpenJDK13 to Coretto17 od existing EP9.1


heh
 Share

Recommended Posts

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

  • 1 month later...

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

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...