The first requirement to uninstall Java on Mac OS – you should have administrator privileges.
Second – you shouldn’t be afraid to use terminal.
The Java SE Development Kit 8 lets you develop and deploy Java applications on desktops and servers, as well as in today's demanding embedded environments. Java offers the rich user interface, performance, versatility, portability, and security that today’s applications require. Download the latest version of Java2 SDK for Windows.
Java 2 Sdk Mac Os
This method works fine for any version of Java – 8, 9, 10, 11, 12, 13 or any other version.
Uninstalling Java on the Mac
Click on Launchpad in the dock
Search for Terminal and open it.
Copy and paste commands to uninstall Java completely
Remove the corresponding folder with that version: