首页 > 编程语言 >ERROR: JAVA_HOME is not set and could not be found.

ERROR: JAVA_HOME is not set and could not be found.

时间:2023-01-11 09:33:16浏览次数:36  
标签:set JAVA found could ERROR HOME

问题描述:今天在启动Hadoop时发现显示报错:JAVA_HOME is not set and could not be found。

      但我昨天明明还是启动成功的,那这不就是见鬼了???

 

 

问题解决:

    发现当前用户是超级用户,而当时在设置环境时用的是普通用户,所以只需切换成相应用户即可。

 

标签:set,JAVA,found,could,ERROR,HOME
From: https://www.cnblogs.com/ReturnOfTheKing/p/17042855.html

相关文章