Upgrading Java on Linux - 7.0

author
EnrichVersion
7.0
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for Data Quality
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Installation and Upgrade
EnrichPlatform
Talend Studio

Upgrading Java for all Talend services on Linux

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

Before you begin

  • Retrieve the update_java.sh file from the Downloads tab of the menu located in the left panel of this page.

About this task

This procedure does not apply to Talend Remote Engine.

Talend Data Quality Portal and Nexus do 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-7.3.1)

    PROD_VER=<Talend_version> (for example: PROD_VER=7.3.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.