Hadoop: «ERROR : JAVA_HOME is not set»

前端 未结 12 1827
借酒劲吻你
借酒劲吻你 2020-12-13 17:13

I\'m trying to install Hadoop on Ubuntu 11.10. I set the JAVA_HOME variable in the file conf/hadoop-env.sh to:

# export JAVA_HOME=         


        
12条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-13 17:46

    Here we provide simple steps to setup JAVA_HOME while installing of Hadoop

    Step1: Goto Java library path /lib jvm

    Then set the JAVA_HOME & PATH in .bashrc file

    Source : http://commandstech.com/hadoop-error-java_home-is-not-set-and-could-not-be-found-in-hadoop-installation/

    Step 2 : Once it is done then go with Hadoop env file then update it.

    After once it is done then stop the daemons and start daemons once again.

提交回复
热议问题