In order for your Talend product to use the Java environment installed on your machine, you must set the JAVA_HOME environment variable.
Procedure
-
In the directory where Java is installed, find the location of the
bin directory that contains the virtual machine:
bin/server/jvm.dll.
For example:
- /usr/lib/jvm/java-x-oracle
- /usr/lib/jvm/zulu-11
- Open a terminal.
-
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
-
-
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.Note: If you use sudo to run the Installer to install system services, make sure to use sudo -E before starting the installation.