How to Update Java on Macs
- 1). Open the Apple menu in the upper-left corner of the screen and select "Software Update." A status window opens as the Software Update utility checks for new software.
- 2). Click "Show Details" if Software Update finds updates for your Mac.
- 3). Review the available updates in the window. If an update to Java is available, you will see it listed. Select the Java update and any additional updates you want to install.
- 4). Click the "Install" button. A status window opens as the updates download and install.
Source...