Uninstall Oracle Java On Mac
Uninstall Oracle Java JDK on Mac OS X
Akbar S. Ahmed | Jan 27, 2015

Step-by-step instructions

Maybe you installed the wrong Oracle Java JDK version or you need to remove an old JDK that you no longer require. Whatever the reason, uninstalled the Oracle Java JDK from a Mac is super easy.

There are two steps to uninstalling the JDK: 1. Uninstall the JDK 2. Uninstall the JRE

Uninstall the JDK

cd /Library/Java/JavaVirtualMachines/

# Get a list of the currently installed JDKs
ls

# Change the directory name below based on the JDK version you want to uninstall
sudo rm -rf jdk1.7.0_71.jdk

Uninstall the JRE

sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/

Summary

The JDK and JRE are now uninstalled.

If you require JDK 7, then you can install the Oracle Java JDK 7 update 75.

If this blog post helped you, please subscribe to our newsletter.




Subscribe to our newsletter

Contact Information

ABOUT EXPONENTIAL.IO

We specialize in helping professional developers, like you, expand your skill set. Our courses are focused on enabling you to learn everything necessary to use a new technology in a live, production application.

LOCATION

All courses are made with love in
Palo Alto, CA.

Subscribe to our newsletter