Skip to main content Skip to complementary content

Upgrading Java for all Talend services on Linux

You can upgrade Java to avoid security issues. This procedure will go through the different steps required for minor or major updates of Java on Talend services. It can also be followed for minor downgrades.

Before you begin

  • Download and extract the update_java.zip file. Use the .bat file or the .sh file depending on your operating system.

About this task

This procedure applies to all Talend services, except Talend Remote Engine. See section Upgrading Java for Talend Remote Engine for more details.
Information noteRestriction: Talend LogServer (deprecated), Talend MDM, and Nexus do not support Java 17. Nexus does not support Java 11.

Procedure

  1. Install the new Java version according to the Compatible Java environments page.
  2. Find all the running Talend services with the command systemctl | grep talend.
  3. Stop all Talend services with the command systemctl stop <service name>.
  4. Open update_java.sh with a text editor.
  5. Locate the variables in the script and set them as follows:

    TALEND_HOME=<Talend_home_folder> (for example: TALEND_HOME=/opt/Talend-8.0.1)

    PROD_VER=<Talend_version> (for example: PROD_VER=8.0.1)

    JAVA_HOME=<Java_home_folder> (for example: JAVA_HOME=/usr/lib/jvm/jre1.8.0_221)
  6. As a superuser, run update_java.sh. This script will replace the hard-coded path to Java with the new values in your installation.
  7. Restart your computer or start all Talend services manually with the command systemctl start <service name>.

Results

All Talend services are now using the new Java version.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!