hadoop启动守护进程报JAVA_HOME is not set and could not be found

Posted peng.zhang

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hadoop启动守护进程报JAVA_HOME is not set and could not be found相关的知识,希望对你有一定的参考价值。

hadoop启动守护进程
sbin/start-dfs.sh
报如下错误:
JAVA_HOME is not set and could not be found

解决办法(JAVA_HOME修改为具体的路径):
vim etc/hadoop/hadoop-env.sh

 

以上是关于hadoop启动守护进程报JAVA_HOME is not set and could not be found的主要内容,如果未能解决你的问题,请参考以下文章

windows tomcat 启动报错TOMCAT JAVA_HOME or JRE_HOME environment variable is not defined correctly

Windows下elasticsearch启动闪退之JAVA环境变量报错:could not find java; set JAVA_HOME or ensure java is in PATH(示例

Windows下elasticsearch启动闪退之JAVA环境变量报错:could not find java; set JAVA_HOME or ensure java is in PATH(示例

linux tomcat 启动报错 Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least on

启动hadoop,报错Error JAVA_HOME is not set and could not be found

windows下安装hadoop总是出错 JAVA_HOME is not set.