How do I uninstall other/older java versions from my Mac?

1.8k Views Asked by At

I currently have java 8 (1.8.0_261) on my Mac that I use with IntelliJ. But my college requires the latest java, so I installed java 14.0.1 today. How do I uninstall java 8 from my Mac, as I won’t be needing it anymore. Thank you for taking your time to read this.

1

There are 1 best solutions below

0
On

Go to terminal and type:

sudo rm -rf /Library/Java/JavaVirtualMachines/jdk<desired_version>.jdk