Setting up the Java environment variable on Linux

Talend Big Data Getting Started Guide

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend Big Data
task
Installation and Upgrade
Design and Development
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.