Home > Article > Operation and Maintenance > 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!