Linux错误 jps命令无法找到
jps命令无法找到解决方法
[ ~]# jps
bash: jps: 无法找到jps命令
[ ~]# find / -name jps
find: ‘/run/user/1001/gvfs’: Permission denied
[ ~]# rpm -qa |grep -i jdk
java-1.8.0-openjdk-headless-1.8.0.65-3.b17.el7.x86_64
java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64
java-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64
java-1.7.0-openjdk-headless-1.7.0.91-2.6.2.3.el7.x86_64
[ ~]# yum list *openjdk-devel*
需要安装openjdk-devel包
[ ~]# yum install java-1.8.0-openjdk-devel.x86_64
[ ~]# which jps
/usr/bin/jps
[ ~]# jps
12995 Jps
10985 ResourceManager
11179 NodeManager
10061 NameNode
10301 DataNode
10655 SecondaryNameNode
相关推荐
程序媛一枚 2020-04-06
voiletbin 2020-01-06
goawalk 2015-05-20
linuxisperfect 2015-05-20
boante 2013-12-21
bulargyzone 2016-10-17
mandy0k 2015-01-04
搁浅记忆 2016-01-21
huangjing0 2019-06-21
jovisoft 2019-06-21
wngn 2017-11-07
闹闹的主人 2010-09-27
Swen 2010-09-27
当编程爱上艺术 2010-09-26
FreedomCY 2010-09-26
nbfcome 2019-04-28