...
Windows
Install new Java version
Follow instructions to install Java: Install Java
Update JAVA_HOME
If you have set the environment variable JAVA_HOME, check whether this needs updating.
...
On windows, check the system environment variables to see if JAVA_HOME is set, and if it needs updating to the new base installation of Java, do so
...
Commonly this will be automatically updated by the installation process.
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
Remove old version
Linux
Install new Java version
Follow instructions to install Java: Install Java
Update JAVA_HOME
If you have followed the standard installation instructions, you have already done this.
Update service script
cwelford@PF-000151:/mnt/c/Program Files/Eclipse Adoptium$ find . -name jvm.dll -print
./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
Unix: update-alternatives?
Remove old version
...
Linux
delete install:Delete the previous installation
Code Block |
---|
cd /opt/jdk |
...
sudo rm -r [PREVIOUS VERSION] |
For example
Code Block |
---|
sudo |
...
rm - |
...
r |
...
/opt/jdk/ |
...
jdk-11.0.13+8 |