Tips on how to uninstall JDK or Java SE in Mac OS X.
1 How to see JDK versions already installed
The java_home -v
command will list all JDKs already installed in your Mac OS.
Output after executing above command may be similar with following text, which means there was two versions of JDK installed, 1.8.0_121 and 1.7.0_79.
Java for Mac OS X 10.5 Update 10 delivers improved compatibility, security, and reliability by updating J2SE 5.0 to 1.5.030, and updating Java SE 6 to 1.6.026. Java SE 7 and JDK 7 Compatibility. Jdk 1.6 0 free download for windows 7 64 bit. Brorsoft Video Converter For Mac Free Download. Java Runtime Environment 1.6 (12.56 MB). Java SE Development Kit 8 Downloads. Thank you for downloading this release of the Java™ Platform, Standard Edition Development Kit (JDK™). The JDK is a development environment for building applications, applets, and components using the Java programming language.
2 How to locate JDK installation folder
Above java_home -v
command has already told you where JDKs were installed.
3 How to check which JDK version is currently used by Mac OS
Using java -version
or javac -version
to show the JDK version used by system.
Jre 13 Download
4 How to switch JDK version
Appending following line to your ~/.profile
file will switch system's JDK to 1.8 version.
5 How to uninstall JDK
If you decide to remove a JDK version, just simply delete its installation folder.
or
6 Homebrew or MacPorts
Jdk 13.0.2 Download
If your JDK was installed using Homebrew or MacPorts, please uninstall your JDK using the same way.