3: Remove any item with the 'Java Runtime Environment' (JRE or J2SE) in the name. In order to do some JNI programming, I need to know where Java installed on my Mac. Question or issue on macOS: I just downloaded Java 7u17 on Mac OS 10.7.5 from here and then successfully installed it. Remove one directory and one file (a symlink), as follows: Click on the Finder icon located in your dock Click on Go in the Finder menu Click on Utilities Double-click on the Terminal icon. Note: To uninstall Java, you must have Administrator privileges and execute the remove command either as root or by using the sudo tool.
Uninstall Oracle Java using the Terminal.