linux中jps时报错,command not found

 

版权声明:本文为博主原创文章,欢迎扩散,扩散请务必注明出处。 https://blog.csdn.net/robinson_0612/article/details/78562642
 

需要安装openjdk-devel包 
[root@namenode ~]# yum install java-1.8.0-openjdk-devel.x86_64 
[root@namenode ~]# which jps /usr/bin/jps 
[root@namenode ~]# jps 12995 Jps 10985 ResourceManager 11179 NodeManager 10061 NameNode 10301 DataNode 10655 SecondaryNameNode

 

你可能感兴趣的:(小知识点)