Step 1: Execute rpm -qa|grep jdk
to view the information of the previously installed version Step 2 : Execute rpm -e --nodeps jdk (full name of jdk) Execute as shown below: Finally execute rpm -qa|grep jdk again No Any content means that it is uninstalled and you can install the version you need.
Uninstall jdk under centos7
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326227478&siteId=291194637
Recommended
Ranking