You should install the JDK and set JAVA_HOME to the folder of your JDK. FYI, 
the JDK includes the JRE.
https://docs.oracle.com/javase/7/docs/webnotes/install/

Olivier

From: Divya Ravichandran
Reply-To: "[email protected]<mailto:[email protected]>"
Date: Friday, 22 May 2015 14:47
To: "[email protected]<mailto:[email protected]>"
Subject: Issue with setting JAVA_HOME


Hello,

I am trying to run sqoop and yarn on the same machine.

Sqoop needs JAVA_HOME be set to JDK whereas yarn requires JRE(which is the 
recommended setting).

Can this setting be changed dynamically so it can pick up JDK for sqoop and JRE 
for yarn?

Or any workarounds possible?

Please let me know!

Thanks,
Divya

Reply via email to