The following instructions apply if Tomcat is installed as a Service:
1. Go to the server where Apache Tomcat and Jaspersoft is installed
2. Locate the new Java install path folder
3. Open Configure Tomcat -> Java. (Run the Tomcat8w.exe GUI application)
4. Update the Java Virtual Machine path to the current JRE installation folder. For example:
5. Start Apache Tomcat
If Tomcat is not installed as a Service, or Tomcat8w.exe is non-existent:
One will need to modify the JAVA_HOME and JRE_HOME environment variables directly.
If only the JAVA_HOME environment variable is set, Tomcat will run under the JRE as part of the JDK specified by the JAVA_HOME variable. Therefore, we change JRE for Tomcat by updating this variable.
If both the JAVA_HOME and JRE_HOME environment variables are set, the JRE_HOME is preferred. Here’s an example of a valid value for the JRE_HOME variable (path on Windows):