Home  >  Article  >  Operation and Maintenance  >  How to uninstall linux jdk

How to uninstall linux jdk

藏色散人
藏色散人Original
2020-05-15 11:17:493084browse

How to uninstall linux jdk

#How to uninstall linux jdk?

Uninstall the jdk version that comes with the system:

View the jdk that comes with the system:

#rpm -qa|grep gcj

You may see information similar to the following:

libgcj-4.1.2-44.el5 
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115

Use the rpm -e --nodeps command to delete the content found above:

#rpm -e –nodeps java-1.4.2-gcj-compat-1.4.2.0-40jpp.115

Recommended: "linux tutorial"

The above is the detailed content of How to uninstall linux jdk. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn