Install JDK in MacOS
/usr/libexec/java_home -V
Uninstall
/usr/libexec/java_home -v1.8.0_321 /usr/libexec/java_home -v1.8.0_241 /usr/libexec/java_home -v1.7.0_80 /usr/libexec/java_home -v1.8.0 |
sudo rm -rf /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/ sudo rm -rf /Library/Java/JavaVirtualMachines/jdk1.8.0_241.jdk/ sudo rm -rf /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/ sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-11.0.6.jdk/ |