Hadoop : JPS can not find Java installed

前端 未结 11 1929
一生所求
一生所求 2021-01-03 14:48

my configurations are

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


        
11条回答
  •  天命终不由人
    2021-01-03 15:36

    This might also be a reason. Its simple: See if $javac works. Note: $java might work, check javac. If $javac is not working then $jps will not work either. So you might want to do something like

    export PATH=$PATH:$JAVA_HOME/bin

    and try again. both javac and jps. good luck.

提交回复
热议问题