Windows could not start the Apache Tomcat 8 on Local Computer. Error code 1

Document ID : KB000006805
Last Modified Date : 30/01/2019
Show Technical Document Details

Unable to start Tomcat service for JasperSoft and receive the following popup error message:

java tomcat.JPG

When checking Apache Tomcat logs (Apache Software Foundation\Tomcat 8.0\logs), the following error is seen:

[info]  [ 3388] Running 'Tomcat8' Service...
[info]  [ 3712] Starting service...
[error] [ 3712] Failed creating java C:\Program Files\Java\jre1.8.0_112\bin\server\jvm.dll
[error] [ 3712] The system cannot find the path specified.
[error] [ 3712] ServiceStart returned 1
[error] [ 3712] The system cannot find the path specified.
[info]  [ 3388] Run service finished.

Service Desk Manager 14.1 or 17.0
JasperSoft 6.2 or 6.3
Apache Tomcat 8.x
All Supported Windows Operating Systems

Main causes for the error are:

1.  Apache Tomcat cannot find the JVM.DLL file in the specific location because it does not exist

2.  Incorrect read and write permissions for the JAVA install folder or JVM.DLL file

3.  Incorrect JAVA_HOME path specified in the Apache Tomcat configuration


1.  Confirm that the JVM.DLL file does indeed exist in the specified directory (i.e. C:\Program Files\Java\jre1.8.0_112\bin\server)

2.  Make sure that the JVM.DLL file has read and write permissions

3.  Confirm that the Apache Tomcat JAVA_HOME configuration is correct

The following instructions apply if Tomcat is installed as a Service:

  • Locate the Java install path folder on the JasperSoft server
  • Run Tomcat8w.exe to launch the Tomcat Service Manager Program and access the "Java" tab
  • Update the Java Virtual Machine path to the current JRE installation folder (i.e. C:\Program Files\Java\jre1.8.0_73\bin\server\jvm.dll
  • Restart Apache Tomcat service

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\jre7

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\jre7