yum安装java时,没有jps的问题的解决

需要安装Java-1.X.X-openjdk-devel

[root@ls java]# yum install java-1.8.0-openjdk-devel.x86_64
Failed to set locale, defaulting to C
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager, versionlock

This system is not registered with an entitlement server. You can use subscription-manager to register.

Excluding 1 update due to versionlock (use "yum versionlock status" to show it)
Resolving Dependencies
--> Running transaction check
---> Package java-1.8.0-openjdk-devel.x86_64 1:1.8.0.312.b07-1.el7_9 will be installed
--> Processing Dependency: java-1.8.0-openjdk(x86-64) = 1:1.8.0.312.b07-1.el7_9 for package: 1:java-1.8.0-openjdk-devel-1.8.0.312.b07-1.el7_9.x86_64
--> Running transaction check
---> Package java-1.8.0-openjdk.x86_64 1:1.8.0.312.b07-1.el7_9 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================================================================================
 Package                                                            Arch                                             Version                                                             Repository                                         Size
=================================================================================================================================================================================================================================================
Installing:
 java-1.8.0-openjdk-devel                                           x86_64                                           1:1.8.0.312.b07-1.el7_9                                             updates                                           9.8 M
Installing for dependencies:
 java-1.8.0-openjdk                                                 x86_64                                           1:1.8.0.312.b07-1.el7_9                                             updates                                           313 k

Transaction Summary
=================================================================================================================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 10 M
Installed size: 41 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): java-1.8.0-openjdk-1.8.0.312.b07-1.el7_9.x86_64.rpm                                                                                                                                                                | 313 kB  00:00:00     
(2/2): java-1.8.0-openjdk-devel-1.8.0.312.b07-1.el7_9.x86_64.rpm                                                                                                                                                          | 9.8 MB  00:00:00     
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                             32 MB/s |  10 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:java-1.8.0-openjdk-1.8.0.312.b07-1.el7_9.x86_64                                                                                                                                                                             1/2 
  Installing : 1:java-1.8.0-openjdk-devel-1.8.0.312.b07-1.el7_9.x86_64                                                                                                                                                                       2/2 
  Verifying  : 1:java-1.8.0-openjdk-devel-1.8.0.312.b07-1.el7_9.x86_64                                                                                                                                                                       1/2 
  Verifying  : 1:java-1.8.0-openjdk-1.8.0.312.b07-1.el7_9.x86_64                                                                                                                                                                             2/2 

Installed:
  java-1.8.0-openjdk-devel.x86_64 1:1.8.0.312.b07-1.el7_9                                                                                                                                                                                        

Dependency Installed:
  java-1.8.0-openjdk.x86_64 1:1.8.0.312.b07-1.el7_9                                                                                                                                                                                              

Complete!
[root@ls java]# jps
1814 Jps

Ok

 

上一篇:在Ubuntu1804上设置IMX8的qt android开发环境


下一篇:使用Global Mapper14--去除tif影像黑边/白边