歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux綜合 >> 學習Linux

刪除CentOS6.5系統自帶的jdk

刪除CentOS6.5系統自帶的jdk

刪除CentOS6.5系統自帶的jdk


首先查看JDK的版本,Java-version

卸載步驟如下:

[html]view plaincopyprint?在CODE上查看代碼片派生到我的代碼片
  1. [root@localhost~]#rpm-qa|grepjdk
  2. java-1.6.0-openjdk-1.6.0.0-1.50.1.11.5.el6_3.x86_64
  3. java-1.7.0-openjdk-1.7.0.9-2.3.4.1.el6_3.x86_64
  4. [root@localhost~]#rpm-qa|grepgcj
  5. java-1.4.2-gcj-compat-1.4.2.0-40jpp.115
  6. libgcj-4.1.2-48.el5
  7. [root@localhost~]#yum-yremovejavajava-1.6.0-openjdk-1.6.0.0-1.50.1.11.5.el6_3.x86_64
  8. [root@localhost~]#yum-yremovejavajava-1.7.0-openjdk-1.7.0.9-2.3.4.1.el6_3.x86_64
  9. [root@localhost~]#yum-yremovejavajava-1.4.2-gcj-compat-1.4.2.0-40jpp.115
  10. [root@localhost~]#yum-yremovelibgcj-4.1.2-48.el5

http://xxxxxx/Linuxjc/1184658.html TechArticle

Copyright © Linux教程網 All Rights Reserved