Hadoop: Cannot use Jps command

前端 未结 7 2016
被撕碎了的回忆
被撕碎了的回忆 2020-12-14 11:10

The problem is

  hduser@saket-K53SM:/usr/local/hadoop$ jps
  The program \'jps\' can be found in the following packages:
  * openjdk-6-jdk
  * openjdk-7-jdk
         


        
7条回答
  •  囚心锁ツ
    2020-12-14 11:34

    If you are using openjdk then you have install additional headless jre try:

    sudo apt-get install java-1.8.0-openjdk-headless

    It worked for me,you can have to give correct openjdk version mine was 1.8

提交回复
热议问题