How to uninstall jdk in linux: first check which java is installed, the code is [yum list installed | grep java]; then use the rpm command to uninstall, the code is [rpm -e xxxx].
【Recommended related articles: linux tutorial】
How to uninstall jdk in linux:
The first step: Check which java is installed
Command:
yum list installed | grep java
Second Department: Use the rpm command to uninstall
Command:
rpm -e xxxx
Related learning recommendations: java basics
The above is the detailed content of How to uninstall jdk in linux. For more information, please follow other related articles on the PHP Chinese website!