When using yum to install java in Centos, there is no solution to the problem of jps

Solution: You need to install the java-1.XX-openjdk-devel package, which provides the jps tool

Order:

yum list | grep jdk-devel 

yum install -y java-1.7.0-openjdk-devel.x86_64

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326211311&siteId=291194637