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\\jre1.8.0_65\\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.
The next time you launch Talend JobServer, the java executable used will be the one you have previously set in the TalendJobServer.properties file.