...
Update service wrapper
Find the file jvm.dll
in the Java installation.
Java 8: this will be in
JAVA_HOME\jre\bin\server\jvm.dll
Java 11: this will be at
JAVA_HOME\bin\server\jvm.dll
Open the tomcat configuration window:
Start the program Monitor Tomcat
If this is not available from the start menu, run the program JAVA_HOME\bin\Tomcat9w.exe
./jdk-11.0.13.8-hotspot/bin/client/jvm.dll
./jdk-11.0.13.8-hotspot/bin/server/jvm.dll
./jdk-8.0.312.7-hotspot/jre/bin/server/jvm.dl
...
Tomcat Monitor window. If you need further details on how to open this, see: Tomcat start/ stop, open properties
Go to the Java tab. Update the Java Virtual Machine setting to the new location of jvm.dll
.
...
Remove old version
Installation of the new version of Java should remove the previous version, but you should confirm that the previous version has been removed by examining the list of installed programs.
Linux
Install new Java version
...