Windows
Stop Tomcat
See Managing Tomcat start/ stop, open properties
Install new Java version
Follow instructions to install Java: Install Java
Update JAVA_HOME
If you have Setting JAVA_HOME is not part of the standard installation of Java for PhixFlow, but some operators set this for use with other programs on the same server.
If someone has set the environment variable JAVA_HOME, check whether this needs updating in the system environment variables. Commonly this will be automatically updated by the installation process.
...
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
for the the new logging settings at that version of Java, as instructed here: Install Tomcat on Linux
Start Tomcat
See Managing Tomcat start/ stop, open properties