Centos bash: jps command not found -yellowcong

Centos7.0 installed the dubbo cluster and set up automatic startup. After booting, I wanted to use jps to see if zookeeper was started, but an error was reported.

bash:jps 未找到命令...
-bash: jps: command not found

write picture description here

The reason is very simple, java1.5 does not have the jps command, and it is not installed, but the jdk that comes with the system

The solution is to install java and it can be solved, you can check my tutorial

Java installation on CentOS - yellowcong

Guess you like

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