...
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 Tomcat MonitorProperties window. If you need further details on how to open this, see: Tomcat start/ stop, open properties
...
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
./Open the tomcat service script at /etc/systemd/system/tomcat.service
Update JAVA_HOME
in the script to the value of $JAVA_HOME
in your environment. You must make this the full path for the Java installation, you cannot refer to the environment variable in the script. The resulting file will look similar to this:
Code Block |
---|
[Unit] Description=Apache Tomcat Web Application Container After=network.target [Service] Type=forking Environment=JAVA_HOME=/opt/jdk/jdk-11.0.13 |
...
+8
Environment=CATALINA_PID=/opt/tomcat/temp/tomcat.pid
Environment=CATALINA_HOME=/opt/tomcat
Environment=CATALINA_BASE=/opt/tomcat |
Remove old version
Delete the previous installation
...