Make sure you update your Java using the software update option under the apple icon menu top left of screen. Mine is OSX 10.5.2 at moment so I think you may be missing an update. After updating, don't forget to do a safe boot and repair permissions. That's important for mac updates.