Remove the JDK that comes with the CentOS system

Source: Internet
Author: User
When installing CentOS6.4, the system automatically installs the JDK, downloads it, and installs the custom JDK.

The uninstallation steps are as follows:

[Email protected] ~]# Rpm-qa|grep jdkjava-1.6.0-openjdk-1.6.0.0-1.50.1.11.5.el6_3.x86_ 64java-1.7.0-openjdk-1.7.0.9-2.3.4.1.el6_3.x86_64[[email protected] ~]# Rpm-qa|grep gcjjava-1.4.2-gcj-compat-1.4.2.0-40jpp.115  libgcj-4.1.2-48.el5  [[email protected] ~]# yum-y remove Java Java-1.6.0-openjdk-1.6.0.0-1.50.1.11.5.el6_3.x86_64[[email protected] ~]# yum-y remove Java Java-1.7.0-openjdk-1.7.0.9-2.3.4.1.el6_3.x86_64[[email protected] ~]# yum-y remove Java java-1.4.2-gcj-compat-1.4.2.0-40jpp.115  [[email protected] ~]# yum-y Remove Libgcj-4.1.2-48.el5  

Remove the JDK that comes with the CentOS system

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.