系统安装java-jdk版本:
java-1.8.0-openjdk.x86_64
,没有安装java-1.8.0-openjdk-devel.x86_64
yum list | grep java-1.8.0-openjdk
java-1.8.0-openjdk.x86_64 1:1.8.0.292.b10-1.el7_9 @updates
java-1.8.0-openjdk-devel.x86_64 1:1.8.0.292.b10-1.el7_9 @updates
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.292.b10-1.el7_9 @updates
...
yum list | grep jdk-devel
java-1.8.0-openjdk-devel.x86_64 1:1.8.0.292.b10-1.el7_9 @updates
java-1.6.0-openjdk-devel.x86_64 1:1.6.0.41-1.13.13.1.el7_3 base
java-1.7.0-openjdk-devel.x86_64 1:1.7.0.261-2.6.22.2.el7_8 base
java-1.8.0-openjdk-devel.i686 1:1.8.0.292.b10-1.el7_9 updates
java-11-openjdk-devel.i686 1:11.0.11.0.9-1.el7_9 updates
java-11-openjdk-devel.x86_64 1:11.0.11.0.9-1.el7_9 updates
--------------------------
java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
安装完成,执行命令
jps
15122 Jps
15940 QuorumPeerMain