Reply
Contributor
Posts: 26
Registered: ‎05-12-2015

Re: ERROR orm.CompilationManager: Please install a JDK and set $JAVA_HOME to use it.

[ Edited ]

Hi Losetty,

 

 

Try placing   ojdbc6.jar file into /opt/cloudera/parcels/CDH/lib/sqoop/lib

 

Using below command find the java versions installed on your OS and select appropritate java jdk version. You may also copy the java path defined when you use below command and use it to set actual Java_Home path.

 

$ update-alternatives --config java

 

 

 

pp
New Contributor
Posts: 2
Registered: ‎12-30-2017

Re: ERROR orm.CompilationManager: Please install a JDK and set $JAVA_HOME to use it.

I was facing same issue so i followed below steps:-

 

1)insatlled jdk from oracle

2)copied jdk to /usr/local/java folder

3)modified JAVA_HOME inside ~/.bashrc and gave source ~/.bashrc

4)modified JAVA_HOME inside hadoop-env.sh

 

and all got sorted.

pp
New Contributor
Posts: 2
Registered: ‎12-30-2017

Re: ERROR orm.CompilationManager: Please install a JDK and set $JAVA_HOME to use it.

I was facing same issue so i followed below steps:- 1)insatlled jdk from oracle 2)copied jdk to /usr/local/java folder 3)modified JAVA_HOME inside ~/.bashrc and gave source ~/.bashrc 4)modified JAVA_HOME inside hadoop-env.sh and all got sorted.

Announcements