【Hadoop】The program ‘jps‘ can be found in the following packages: * openjdk-8-jdk...

报错:
【Hadoop】The program ‘jps‘ can be found in the following packages:  * openjdk-8-jdk...

  • 以下是网上找的解决而方案,意思就是没有配置jdk。但是我配置过了,还是会出现。
    【Hadoop】The program ‘jps‘ can be found in the following packages:  * openjdk-8-jdk...
  • 然后尝试让配置文件再生效一次,结果就好了。
source /etc/profile

【Hadoop】The program ‘jps‘ can be found in the following packages:  * openjdk-8-jdk...

  • 也就是说它有时候,反应不过来,可以试试再让配置生效一次再去查看。

上一篇:Linux如何查看JDK的安装路径


下一篇:实例: 安装openjdk