In order for your Talend
product to use the Java environment installed on your machine, you must set the JAVA_HOME
environment variable.
About this task
You must complete this setup if you want to
execute Jobs locally with
Talend Studio.
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:
-
/Library/Java/Home
-
/Library/Java/JavaVirtualMachines/
-
Open a terminal.
-
Use the export command to set the JAVA_HOME and Path variables.
-
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.
The files that define global and user profiles might change
depending on the version of your operating system.