Update: As mentioned in the comments below, there is a newer version of this same package: Java for OS X 2014-001.
The solution was to manually download and install the official Java package for OS X, which is in Java for OS X 2013-005.Java netbeans free download - NetBeans, Apple Java for OS X 10.6, Apple Java for OS X 10.7/10.8, and many more programs.
I want to play runescape, but to play it i have to Java, well when i download & open java it tell's me i my mac requires to have MAC OS X 10.5.