Install JDK in MacOS: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
==Uninstall==
==Uninstall==
{|
{|
|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
|valign="top"|
|valign="top"|
  sudo rm -rf /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/
  sudo rm -rf /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/
Line 8: Line 14:
  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/
|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
|}
|}



Revision as of 07:04, 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/

References