Step 1.
First remove any previous versions of Java from your computer. If you notice more than one, remove all versions.
Step 2.
Once Java has been removed, you are now ready to install Java’s latest version.
Internet Explorer
Select Run at the prompt at the bottom of the screen (Skip to step D after)
Firefox
Select Save File
A downloads window will appear showing your recently downloaded files. Double click the Java Download (Skip to step D after)
Google Chrome
Click on the Java Chrome Install File in the bottom left corner of the browser
Select Run when prompted
Select Install
Uncheck the option to install any additional add-ons and click Next
Step 3.
64 Bit Java Installation (If applicable)
If you're running a 64 bit computer you will also need Java’s 64 version in addition to the 32 bit version. Although your browser maybe 64 bit, you can ensure you have the 64 bit version of Java by clicking on the link See All Java Downloads.
Select the Windows Online download for the 64 bit Java to being the installation.
Step 1.
Click on the Apple icon at the top left corner of your screen and select Software Update.
Step 2.
Allow the system to check for updates.
Step 3.
After checking for updates you will be presented with a window displaying all updates available for your Mac system. If Java is available then ensure it is checked and select Install.