Force uninstall the built-in JDK in LINUX

Source: Internet
Author: User
Force uninstall LINUX built-in JDK [root @ localhostsoft] # java-versionjavaversion1.4.2 & amp; Prime; gij (GNUlibgcj) version4.1.220071124 (RedHat4.1.2-42) [root @ localhostsoft] # rpm-qa | gr... forcibly uninstall the built-in JDK [root @ localhost soft] # java-versionjava version "1.4.2" gij (GNU libgcj) version 4.1.2 20071124 (Red Hat 4.1.2-42) [root @ localhost soft] # rpm-qa | grep jdk [root @ localhost soft] # rpm-qa | grep gcjlibgcj-4.1.2-42.el5java-1.4. 2-gcj-compat-1.4.2.0-40jpp.115 above first confirm the specific jdk Version, and then [root @ localhost jdk1.6.0 _ 11] # yum-y remove java-1.4.2-gcj-compat-1.4.2.0-40jpp.115Setting up Remove ProcessResolving Dependencies ........... Removed: java-1.4.2-gcj-compat.i386. 4.2.0-40jpp. 115 Dependency Removed: anlr. i386 0: 2. 7.6-4jpp. 2 bsf. i386 0: 2. 3.0-11jpp. 1 bsh. i386 0: 1. 3.0-9jpp. 1 gjdoc. i386 0: 0. 7.7-12. el5 hsqldb. i386 1:1. 8.0.9-1jpp. 2 openoffice.org-calc. i3861: 2.3.0-6.5.el5 openoffice.org-core. i386. 3.0-6.5.el5 openoffice.org-draw. i386. 3.0-6.5.el5 openoffice.org-graphicfilter. i386. 3.0-6.5.el5 openoffice.org-imp Ress. i3861: 2.3.0-6.5.el5 openoffice.org-langpack-zh_CN.i386. 3.0-6.5.el5 openoffice.org-langpack-zh_TW.i386. 3.0-6.5.el5 openoffice.org-math. i386. 3.0-6.5.el5 openoffice.org-writer. i386. 3.0-6.5.el5 openoffice.org-effectfilter. i386. 3.0-6.5.el5 tomcat5-jsp-2.0-api.i386. 5.23-0jpp. 7. el5 tomcat5-servlet-2.4-api.i386. 5.23-0jpp. 7. el5 xalan-j2.i386 0: 2. 7.0-6jpp. 1 xerces-j2.i386 0: 2. 7.1-7jpp. 2 xml-commons-apis.i386. 3.02-0. b2.7jpp. 10 xml-commons-resolver.i386. 1-1jpp.12Complete! (Uninstall completed)
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.