AnsweredAssumed Answered

Error: JAVA_HOME is not set or Java could not be found

Question asked by sa125 on Jul 14, 2012
Latest reply on Jul 15, 2012 by Ted Dunning
I have set JAVA_HOME both in my /etc/profile and ~/.bashrc. And still, when I try to run `/opt/mapr/bin/maprcli`, I get the error:

###Error: JAVA_HOME is not set or Java could not be found

I've verified this in terminal:

    root@Hadoop01:~# /opt/mapr/bin/maprcli -h
    Error: JAVA_HOME is not set or Java could not be found
    root@Hadoop01:~# echo $JAVA_HOME
    /usr/local/java/jre1.6.0_24

What am I missing?

Outcomes