Skip to content

Instantly share code, notes, and snippets.

View Xtremrules's full-sized avatar

Chukwunyere Olelewe Xtremrules

View GitHub Profile
@xpepper
xpepper / How to uninstall older versions of JDK on a OSX machine.md
Last active May 20, 2024 13:07
How to uninstall older versions of JDK on a OSX machine

How to cleanly uninstall older versions of JDK on a OSX machine

Say you want to remove the JDK 1.8.0_161:

Check that's installed with ls -1 /Library/Java/JavaVirtualMachines

for example:

$ ls -1 /Library/Java/JavaVirtualMachines
jdk1.7.0_80.jdk