Setting up JAVA_HOME

Talend MDM Platform Installation Guide for Mac

EnrichVersion
6.5
EnrichProdName
Talend MDM Platform
task
Installation and Upgrade
EnrichPlatform
Talend Data Stewardship
Talend Activity Monitoring Console
Talend Installer
Talend JobServer
Talend MDM Web UI
Talend DQ Portal
Talend Identity and Access Management
Talend Runtime
Talend Artifact Repository
Talend Data Preparation
Talend MDM Server
Talend Administration Center
Talend SAP RFC Server
Talend Repository Manager
Talend Studio
Talend ESB
Talend Log Server
Talend CommandLine

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. Find the folder where Java is installed, usually /Library/Java/Home.
  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/jre1.8.0_65
    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.