Hadoop: «ERROR : JAVA_HOME is not set»

前端 未结 12 1822
借酒劲吻你
借酒劲吻你 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 18:06

    • hadoop ERROR : JAVA_HOME is not set

    Above error is because of the space in between two words.

    Eg: Java located in C:\Program Files\Java --> Space in between Program and files would cause the above problem. If you remove the space, it would not show any error.

提交回复
热议问题