The following error appears in the Apache Tomcat logs when starting Apache Tomcat for JasperSoft 6.2:
[info] [ 3120] Commons Daemon procrun (1.0.15.0 64-bit) started
[info] [ 3120] Running 'Tomcat8' Service...
[info] [ 2592] Starting service...
[error] [ 2592] Failed creating java C:\Program Files\Java\jre1.8.0_111\bin\server\jvm.dll
[error] [ 2592] The system cannot find the path specified.
[error] [ 2592] ServiceStart returned 1
[error] [ 2592] The system cannot find the path specified.
[info] [ 3120] Run service finished.
Java has been upgraded and the actual Java install path has been updated
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:
C:\Program Files\Java\jre1.8.0_73\bin\server\jvm.dll
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.
JAVA_HOME=C:\Program Files\Java\jre1.8.0_73
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):
JRE_HOME=C:\Program Files\Java\jre1.8.0_73