Talend JobServer allows you to
choose another JVM than the one used by default to launch your Jobs.
Procedure
-
Go to the directory <root>\conf, where
<root>
is the Talend JobServer path, and open the
TalendJobServer.properties file to edit it.
-
In the line dedicated to the Job launcher path, add the path to your
Java executable after the equal sign.
# Set the executable path of the binary which will run the Job, for example: /usr/bin/java/java or "c:\\Program Files\\Java\\bin\\java.exe"
org.talend.remote.jobserver.commons.config.JobServerConfiguration.JOB_LAUNCHER_PATH="C:\\Program Files\\Java\\jdk11.0.13\\bin\\java.exe"
The use of quotes is only necessary when your path contains spaces, as
shown in the capture. Otherwise, type in the path without quotes.
-
Save your changes and close the file.
Results
The next time you launch Talend JobServer, the
Java executable used will be the one you have previously set in the
TalendJobServer.properties file.