Hadoop: «ERROR : JAVA_HOME is not set»

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

    In some distributives(CentOS/OpenSuSe,...) will work only if you set JAVA_HOME in the /etc/environment.

提交回复
热议问题