Jvm.dll error when running the CommandLine or JobServer service

author
Talend Documentation Team
EnrichVersion
6.4
6.3
6.2
6.1
EnrichProdName
Talend Platform - Universal
Talend Data Integration
Talend Data Fabric
Talend Real-Time Big Data Platform
Talend Big Data Platform
Talend ESB
Talend Data Services Platform
Talend Data Management Platform
Talend Big Data
Talend MDM Platform
task
Installation and Upgrade
EnrichPlatform
Talend CommandLine
Talend Log Server

Jvm.dll error when running the Talend CommandLine or JobServer service

When the Talend CommandLine or JobServer service starts, a jvm.dll error might be thrown.
Environment

This Java error message could apply to the Talend services that use the file on Windows systems.

Symptoms/Description

The following error might be thrown thrown at service startup:

"Error loading: <Java_Home_Path>\jre\bin\classic\jvm.dll"

for example:

"Error loading: C:\Talend\Java\jdk1.6.0_37\jre\bin\classic\jvm.dll"

Resolution

The error means that the JVM is not found and cannot be loaded.

To solve this issue, make sure the Talend CommandLine and JobServer services are stopped and proceed as follows. This procedure assumes that Java Service Launcher (JSL) is installed on your machine. For more information, see section 6.1.5 SVN in the Talend Installation and Upgrade Guide .

  1. Open the jsl_static.ini file to edit it.
  2. Uncomment the following line to define the type of JVM to be used:

    jvmtype=server

  3. Save your changes and close the file.

    Next time the service starts, the jvm.dll file located in the <Java_Home_Path>/jre/bin/server directory will be used.