Install JDK in MacOS: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
  /usr/libexec/java_home -V  
  /usr/libexec/java_home -V  
==Uninstall==
{|
|valign="top"|
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/
|valign="top"|
/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
|}


==References==
==References==
* [https://www.java.com/en/download/help/mac_uninstall_java.html Uninstall Oracle Java using the Terminal]
* [https://www.java.com/en/download/help/mac_uninstall_java.html Uninstall Oracle Java using the Terminal]
* [https://stackoverflow.com/questions/51780530/ Uninstall the Java JDK from macOS]
* [https://stackoverflow.com/questions/51780530/ Uninstall the Java JDK from macOS]

Revision as of 06:59, 11 March 2022

/usr/libexec/java_home -V 

Uninstall

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/
/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

References