Last active
August 10, 2017 02:04
-
-
Save johnnian/5d05c081cdc6c51bfbc32b9b1bf3fbdf to your computer and use it in GitHub Desktop.
JDK Remove #Shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@localhost ~]$ rpm -qa|grep jdk | |
jdk-1.6.0_45-fcs.x86_64 | |
java-1.6.0-openjdk-1.6.0.0-1.66.1.13.0.el6.x86_64 | |
java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64 | |
[root@localhost ~]$ yum -y remove jdk-1.6.0_45-fcs.x86_64 | |
[root@localhost ~]$ yum -y remove java-1.6.0-openjdk-1.6.0.0-1.66.1.13.0.el6.x86_64 | |
[root@localhost ~]$ yum -y remove java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64 | |
rpm -e --nodeps jdk-1.6.0_45-fcs.x86_64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment