It’s really simple to update Java on Mac OS – 3 simple steps.
Go to System Preferences and click on Java icon on the bottom.
Java Control Panel will be opened, go to Update tab and press Update Now.
Java Installer will be opened, press Install Update button.
Wait a little bit while a new version is downloading…
and Java is successfully updated.