[一]、查看系统OpenJDK版本
1 2 3 4 |
# java -version java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.1) (rhel-1.45.1.11.1.el6-x86_64) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) |
[二]、查询相关安装包详细信息
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# rpm -qa | grep java tzdata-java-2012c-1.el6.noarch subversion-javahl-1.6.11-7.el6.x86_64 java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64 eclipse-mylyn-java-3.4.2-9.el6.x86_64 libvirt-java-0.4.7-1.el6.noarch libvirt-java-devel-0.4.7-1.el6.noarch java-1.6.0-openjdk-devel-1.6.0.0-1.45.1.11.1.el6.x86_64 lpg-java-compat-1.1.0-4.1.el6.noarch java-1.6.0-openjdk-1.6.0.0-1.45.1.11.1.el6.x86_64 ant-javamail-1.7.1-13.el6.x86_64 java-1.6.0-openjdk-javadoc-1.6.0.0-1.45.1.11.1.el6.x86_64 java_cup-0.10k-5.el6.x86_64 |
近期评论