Skip to main content
Announcements
Qlik and Talend Support Cases are now opened in the same place.

Qlik Talend Cloud: TMC task is running under a different Java version than what it was published

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Brian_Chan
Support
Support

Qlik Talend Cloud: TMC task is running under a different Java version than what it was published

Last Update:

Sep 4, 2024 3:38:30 AM

Updated By:

Shicong_Hong

Created date:

Sep 4, 2024 3:39:29 AM

The task was published from Talend Studio using Java 17. The project properties within Talend Studio is currently set to Java 17 compatibility mode, and the Remote Engine is also utilizing Java 17. Nevertheless, the execution summary of the task indicates that Java 8 is being used.

 

Cause

The environmental setting JAVA_HOME of the Remote Engine from which it run is set for Java 8 home path. Some servers require multiple Java environments and have the Remote Engine's JDK set in the <Remote Engine Installation Home>/bin/setenv or the <Remote Engine Installation Home>/etc/wrapper file. The Job launcher will take it's lead from JAVA_HOME, thereby causing the Job to execute with Java 8.

 

Resolution

  1. Backup and edit the <Remote Engine Installation Home>/etc/org.talend.remote.jobserver.server.cfg file.
  2. Set the java executable path org.talend.remote.jobserver.commons.config.JobServerConfiguration.JOB_LAUNCHER_PATH, for example:
    org.talend.remote.jobserver.commons.config.JobServerConfiguration.JOB_LAUNCHER_PATH=/<JDK HOME>/bin/java

 

Environment

Labels (2)
Version history
Last update:
6 hours ago
Updated by: