AnsweredAssumed Answered

JAVA_HOME not set

Question asked by bc56 on Jul 14, 2012
Latest reply on Jul 21, 2012 by abhinav
All

I have ubuntu running and I installed JDK manually from the oracle website. When I login as root JAVA_HOME is set and I can see the java version. But when I startup MapR i get this error

     2012-07-15 07:59:22,788 ERROR com.mapr.warden.service.baseservice.Service$ServiceRun run [jobtracker_monitor]:
    Error while running command: [nice, -n, -10, /opt/mapr/hadoop/hadoop-0.20.2/bin/hadoop-daemon.sh, start, jobtracker]
     2012-07-15 07:59:22,788 ERROR com.mapr.warden.service.baseservice.Service$ServiceRun run [jobtracker_monitor]:   
    +======================================================================+
    |      Error: JAVA_HOME is not set and Java could not be found         |
    +----------------------------------------------------------------------+
    | Please download the latest Sun JDK from the Sun Java web site        |
    |       > http://java.sun.com/javase/downloads/ <                      |
    |                                                                      |
    | Hadoop requires Java 1.6 or later.                                   |
    | NOTE: This script will find Sun Java whether you install using the   |
    |       binary or the RPM based installer.                             |
    +======================================================================+

Outcomes