A Job with tsqoopxxx components fails with the error 'org.apache.sqoop.orm.CompilationManager - It seems as though you are running sqoop with a JRE.'

Problem Description

A Job that includes Sqoop components fails with the following error:


[ERROR]: org.apache.sqoop.orm.CompilationManager - It seems as though you are running sqoop with a JRE.
[ERROR]: org.apache.sqoop.orm.CompilationManager - Sqoop requires a JDK that can compile Java code.
[ERROR]: org.apache.sqoop.orm.CompilationManager - Please install a JDK and set $JAVA_HOME to use it.


Root Cause

The machine is already set with the JAVA_HOME environment variable, which is pointing to the JDK path on the machine. The PATH is already updated with %JAVA_HOME%\bin.


The issue is observed because the C:\Talend\6.5.1\studio\Talend-Studio-win-x86_64.ini file is set with the JRE path.



To fix the issue, remove the JRE path from the Talend-Studio-win-x86_64.ini file, then launch Studio. Studio will now use the JAVA_HOME and PATH environment variables to load the JDK path for Studio during its launch.

Version history
Revision #:
5 of 5
Last update:
‎09-29-2018 01:11 AM
Updated by: