Uninstall jdk under centos

Source: Internet
Author: User
Jdk uninstall first, log on to the root account as follows 2, view the system installed jdk # rpm-qa | grepjdk # rpm-qa | grepjavasun-javadb-core-10.5.3-0.2sun-javadb-demo-1

Uninstall jdk

 

1. log on with the root account as follows:

2. view the jdk installed in the system

# Rpm-qa | grep jdk

# Rpm-qa | grep java

Sun-javadb-core-10.5.3-0.2

Sun-javadb-demo-10.5.3-0.2

Sun-javadb-javadoc-10.5.3-0.2

Sun-javadb-common-10.5.3-0.2

Sun-javadb-docs-10.5.3-0.2

 

Third, uninstall jdk

# Rpm-e -- nodeps sun-javadb-demo-10.5.3-0.2 is to uninstall JAVA-related files, command usage is the same as above, if you need to uninstall multiple files at a time, directly separated by spaces

 

So far, all JAVA-related files have been deleted.

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.