Setting up JAVA_HOME - 8.0

Talend Installation Guide for Linux

Version
8.0
Language
English (United States)
EnrichDitaval
Linux
Product
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 Real-Time Big Data Platform
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend LogServer
Talend MDM Server
Talend MDM Web UI
Talend Runtime
Talend SAP RFC Server
Talend Studio
Content
Installation and Upgrade

In order for your Talend product to use the Java environment installed on your machine, you must set the JAVA_HOME environment variable.

Procedure

  1. In the directory where Java is installed, find the location of the bin folder that contains the virtual machine: bin/server/jvm.dll.
    For example:
    • /usr/lib/jvm/java-x-oracle
    • /usr/lib/jvm/zulu-11
  2. Open a terminal.
  3. Use the export command to set the JAVA_HOME and Path variables.
    For example:
    • export JAVA_HOME=/usr/lib/jvm/jdk11.0.13
      export PATH=$JAVA_HOME/bin:$PATH
    • export JAVA_HOME=/usr/lib/jvm/<zulu_jdk>
      export PATH=/$JAVA_HOME/bin:$PATH
  4. Add these lines at the end of the global profiles in the /etc/profile file or in the user profiles in the ~/.profile file.
    After changing one of these files you have to log on again.
    Note: If you use sudo to run the Installer to install system services, make sure to use sudo -E before starting the installation.