[resolved] BD 6.1.1 installer jdk error

One Star

[resolved] BD 6.1.1 installer jdk error

Hi, 
We are migrating from BD 5.6.2 to 6.1.1, installing on Ubuntu 14. Get the following error when running the installer for 6.1.1 as follows...
"...Error: There has been an error.
System environment variable JAVA_HOME is not set to an Oracle JDK (only JRE is 
detected). Please set correctly this environment variable and re-run this 
installer...."

JAVA_HOME is set to /opt/java/jdk1.8.0_45, permissions are +x. 
Any help appreciated.
Andrew

Accepted Solutions
One Star

Re: [resolved] BD 6.1.1 installer jdk error

Have found a solution.
Specify the path to JAVA_HOME in the command that runs the installation file.
e.g. sudo JAVA_HOME=<path to your oracle jdk> .<path to your installer file>

All Replies
Community Manager

Re: [resolved] BD 6.1.1 installer jdk error

Hi 
Check your JDK installation and settings from the following aspects:

Since version 6.0.0, Java 8 is recommended and Java 7 is a minimum. Make sure you installed the appropriate Java version.
A JDK must be installed. Refer to this article for further information about what the folder structure should look like: http://docs.oracle.com/javase/8/docs/technotes/tools/windows/jdkfiles.html
In Talend Studio, configure the JDK path in  Windows > Preferences > Java > Installed JRES. Refer to the Requiring a JDK installation to build jobs starting from version 6.0 article.
 
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] BD 6.1.1 installer jdk error

Hi Shong,
We have jdk1.8.0_45 installed. Our directory structure matches the Oracle specs. 
Sorry, I wasn't clear, we are trying to run Talend-Tools-Installer-20151214_1327-V6.1.1-linux64-installer.run.
One Star

Re: [resolved] BD 6.1.1 installer jdk error

Have found a solution.
Specify the path to JAVA_HOME in the command that runs the installation file.
e.g. sudo JAVA_HOME=<path to your oracle jdk> .<path to your installer file>
Community Manager

Re: [resolved] BD 6.1.1 installer jdk error

Great, thanks for your feedback!
----------------------------------------------------------
Talend | Data Agility for Modern Business