Hadoop: «ERROR : JAVA_HOME is not set»

前端 未结 12 1784
借酒劲吻你
借酒劲吻你 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:57

    You should set JAVA_HOME in the hadoop-env.sh file also which is in the Hadoop configuration directory. By default the JAVA_HOME setting line is commented.

提交回复
热议问题