Apple Computer supplies their own version of Java.
Use the Software Update feature (available on the Apple menu) to check that you have the most up-to-date version of Java for your Mac.
If you have problems with downloading, installing or using Java on Mac, please contact Apple Computer Technical Support.