AnsweredAssumed Answered

JAVA_HOME is not set and Java

Question asked by moliinyk on Sep 13, 2018

Hi All,

During installation MapR 6.0 have got error: JAVA_HOME is not set and Java.

But on the other hand:

root@node1:/opt/mapr/conf# cat env_override.sh
export JAVA_HOME=/usr/lib/jvm/java-10-oracle
export MAPR_HOME=/opt/mapr
export MAPR_USER=mapr
root@node1:/opt/mapr/conf# java -version
java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
root@node1:/opt/mapr/conf# echo $JAVA_HOME
/usr/lib/jvm/java-10-oracle
root@node1:/opt/mapr/conf# uname -a
Linux node1 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Does anyone can explain my why?

Thanks

 

Outcomes