Setting up JAVA_HOME - 7.3

Talend Open Studio Installation and Upgrade Guide

Version
7.3
Language
English
Operating system
Mac
Subscription type
Open Source
Product
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for Data Quality
Talend Open Studio for ESB
Module
Talend ESB
Talend Studio
Content
Installation and Upgrade
Last publication date
2022-10-30

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.
    For example:
    • /Library/Java/Home
    • /Library/Java/JavaVirtualMachines/
  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
    • export JAVA_HOME=/Library/Java/JavaVirtualMachines/<zulu_package>/Contents/Home/
      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 must log on again.