查找可用的jdk列表
[root@iZ233h3j7t6Z ~]# yum -y list java*
出现以下列表Loadedplugins:security
base|3.7kB00:00
base/primary_db|4.6MB00:00
epel|4.4kB00:00
epel/primary_db|6.7MB00:01
extras|3.4kB00:00
extras/primary_db|26kB00:00
updates|3.4kB00:00
updates/primary_db|1.3MB00:00
AvailablePackages
java-1.5.0-gcj.x86_641.5.0.0-29.1.el6base
java-1.5.0-gcj-devel.x86_641.5.0.0-29.1.el6base
java-1.5.0-gcj-javadoc.x86_641.5.0.0-29.1.el6base
java-1.5.0-gcj-src.x86_641.5.0.0-29.1.el6base
java-1.6.0-openjdk.x86_641:1.6.0.36-1.13.8.1.el6_7updates
java-1.6.0-openjdk-demo.x86_641:1.6.0.36-1.13.8.1.el6_7updates
java-1.6.0-openjdk-devel.x86_641:1.6.0.36-1.13.8.1.el6_7updates
java-1.6.0-openjdk-javadoc.x86_641:1.6.0.36-1.13.8.1.el6_7updates
java-1.6.0-openjdk-src.x86_641:1.6.0.36-1.13.8.1.el6_7updates
java-1.7.0-openjdk.x86_641:1.7.0.85-2.6.1.3.el6_7updates
java-1.7.0-openjdk-demo.x86_641:1.7.0.85-2.6.1.3.el6_7updates
java-1.7.0-openjdk-devel.x86_641:1.7.0.85-2.6.1.3.el6_7updates
java-1.7.0-openjdk-javadoc.noarch1:1.7.0.85-2.6.1.3.el6_7updates
java-1.7.0-openjdk-src.x86_641:1.7.0.85-2.6.1.3.el6_7updates
java-1.8.0-openjdk.x86_641:1.8.0.51-1.b16.el6_7updates
java-1.8.0-openjdk-debug.x86_641:1.8.0.51-1.b16.el6_7updates
java-1.8.0-openjdk-demo.x86_641:1.8.0.51-1.b16.el6_7updates
java-1.8.0-openjdk-demo-debug.x86_641:1.8.0.51-1.b16.el6_7updates
java-1.8.0-openjdk-devel.x86_641:1.8.0.51-1.b16.el6_7updates
java-1.8.0-openjdk-devel-debug.x86_641:1.8.0.51-1.b16.el6_7updates
java-1.8.0-openjdk-headless.x86_641:1.8.0.51-1.b16.el6_7updates
java-1.8.0-openjdk-headless-debug.x86_641:1.8.0.51-1.b16.el6_7updates
java-1.8.0-openjdk-javadoc.noarch1:1.8.0.51-1.b16.el6_7updates
java-1.8.0-openjdk-javadoc-debug.noarch1:1.8.0.51-1.b16.el6_7updates
java-1.8.0-openjdk-src.x86_641:1.8.0.51-1.b16.el6_7updates
java-1.8.0-openjdk-src-debug.x86_641:1.8.0.51-1.b16.el6_7updates
java-dirq.noarch1.4-1.el6epel
java-dirq-javadoc.noarch1.4-1.el6epel
java-sleep.noarch2.1-6.el6epel
java-sleep-javadoc.noarch2.1-6.el6epel
java_cup.x86_641:0.10k-5.el6base
java_cup-javadoc.x86_641:0.10k-5.el6base
java_cup-manual.x86_641:0.10k-5.el6base
javacc.x86_644.1-0.5.el6base
javacc-demo.x86_644.1-0.5.el6base
javacc-manual.x86_644.1-0.5.el6base
javassist.noarch3.9.0-6.el6base
javassist-javadoc.noarch3.9.0-6.el6base
javastroke.x86_640.5.1-24.el6epel
javatar.noarch2.5-5.el6epel
javatar-javadoc.noarch2.5-5.el6epel
如果觉得《centos yum 安装java_CentOS下使用yum命令安装Jdk》对你有帮助,请点赞、收藏,并留下你的观点哦!