Setting up the Java environment variable on Linux

Talend Data Integration Getting Started Guide

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Data Integration
task
Design and Development
Installation and Upgrade
Prior to installing your Talend product, you have to set the JAVA_HOME and Path environment variables.

Procedure

  1. Find the JRE installation home directory.

    Example: /usr/lib/jvm/jre1.8.0_65

  2. Export it in the JAVA_HOME environment variable.

    Example:

    export JAVA_HOME=/usr/lib/jvm/jre1.8.0_65
    export PATH=$JAVA_HOME/bin:$PATH
  3. Add these lines at the end of the user profiles in the ~/.profile file or, as a superuser, at the end of the global profiles in the /etc/profile file.
  4. Log on again.