yum安装java时,没有jps的问题的解决
2021/12/19 7:22:29
本文主要是介绍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
这篇关于yum安装java时,没有jps的问题的解决的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-11-23Springboot应用的多环境打包入门
- 2024-11-23Springboot应用的生产发布入门教程
- 2024-11-23Python编程入门指南
- 2024-11-23Java创业入门:从零开始的编程之旅
- 2024-11-23Java创业入门:新手必读的Java编程与创业指南
- 2024-11-23Java对接阿里云智能语音服务入门详解
- 2024-11-23Java对接阿里云智能语音服务入门教程
- 2024-11-23JAVA对接阿里云智能语音服务入门教程
- 2024-11-23Java副业入门:初学者的简单教程
- 2024-11-23JAVA副业入门:初学者的实战指南