Locate the version of Java that’s installed on your Mac OS X system...
1. Open the Utilities folder and run the Terminal application.
2. Type java -version and press Enter.
(space between java & -v important)
The version of Java that you have installed will then be displayed on the screen.
Power of Google to update Java. http://www.java.com/en/download/mac_download.jsp?locale=en
If that doesn't work to update the JRE try this. http://java.com/en/download/index.jsp