centos에는 jps 명령 해결 방법이 없습니다

1024 단어
  • java-1 설치X.X-openjdk-devel 패키지, jps 명령 #yum list | grep jdk-devel
  • 포함
    [root@bigdata usr]# java -version
    openjdk version "1.8.0_242"
    OpenJDK Runtime Environment (build 1.8.0_242-b08)
    OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
    [root@bigdata usr]# yum list | grep jdk-devel
    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 updates  
    java-1.8.0-openjdk-devel.i686               1:1.8.0.252.b09-2.el7_8    updates  
    java-1.8.0-openjdk-devel.x86_64             1:1.8.0.252.b09-2.el7_8    updates  
    java-11-openjdk-devel.i686                  1:11.0.7.10-4.el7_8        updates  
    java-11-openjdk-devel.x86_64                1:11.0.7.10-4.el7_8        updates  
    
           jdk  1.8.0
         java-1.8.0-openjdk-devel.x86_64
    
  • 설치
  • # yum -y install java-1.8.0-openjdk-devel.x86_64
    
  • 검사
  • [root@bigdata usr]# jps
    7601 Jps
    

    좋은 웹페이지 즐겨찾기