In response to the recent flaw discovered in the recently released Java 1.7 Apple has pushed out a software update for their version of Java for Mac. The update is now available for Macs running OSX Snow Leopard(AKA 10.6), Lion(AKA 10.7) and Mountain Lion (AKA 10.8) via the “Software Update” tool. Alternatively you can grab the manual installer below. If you use Java I would highly recommend downloading this right now.
Java for OS X 2012-005 – For OSX 10.7(Lion) or later
Java for Mac OSX 10.6 update 10 – For OSX 10.6(Snow Leopard) only
By default, Java is turned off on all macs running Java. I would recommend only turning on Java if you want to play Minecraft or Runescape.