Install JDK in MacOS: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
/usr/libexec/java_home -v1.7.0_80 | /usr/libexec/java_home -v1.7.0_80 | ||
/usr/libexec/java_home -v1.8.0 | /usr/libexec/java_home -v1.8.0 | ||
|valign="top"| | |valign="top"| | ||
sudo rm -rf /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/ | sudo rm -rf /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/ | ||
Line 14: | Line 13: | ||
sudo rm -rf /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/ | sudo rm -rf /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/ | ||
sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-11.0.6.jdk/ | sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-11.0.6.jdk/ | ||
|} | |} | ||
Revision as of 07:27, 11 March 2022
/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/ |