Windows
Stop Tomcat
See Managing Tomcat start/ stop, open properties
Install new Java version
Follow instructions to install Java: Install Java
...
Open Tomcat Properties window. If you need further details on how to open this, see: Managing Tomcat start/ stop, open properties
Go to the Java tab. Update the Java Virtual Machine setting to the new location of jvm.dll
.
...
Status | ||
---|---|---|
|
If you have moved between major versions of Java (e.g. you are moving from Java 8 to Java 11), update the Java arguments as instructed here: Install Tomcat on Windows
...
If you are migrating to a new major version of Java (e.g. you are moving from Java 8 to Java 11), you will need to remove the previous version from the list of installed programs.
Start Tomcat
See Managing Tomcat start/ stop, open properties
Linux
Stop Tomcat
See Managing Tomcat start/ stop, open properties
Minor (patch) upgrades
If you have installed Java as recommended by PhixFlow (Install Java), upgrade Java as recommended for any package installed using the package manager. For example, on Debian based distributions of linux, the generally recommended approach is by using dist-upgrade
.
...
If you have moved from Java 8 to Java 11, update CATALINA_OPTS in /etc/systemd/system/tomcat.service
as instructed here: Install Tomcat on Linux
Start Tomcat
See Tomcat start/ stop, open properties https://phixflow.atlassian.net/wiki/pages/createpage.action?spaceKey=HELPTRUNKR&title=Tomcat%20start%2F%20stop%2C%20open%20properties&linkCreation=true&fromPageId=8576270352