Java has had extremely serious issues with security on Macs for more than a year at least. It has been responsible for most of the malware that has infected Macs since early spring of 2012. Patches have been issued now and then, but Java is so full of holes that this hasn't really helped. (Often, new vulnerabilities have been found and exploited the next day.)
It is true that there haven't been any KNOWN Java exploits on the Mac in a few months. (I stress the word "known," because a lot of the malware over the last 6 months has been targeted very tightly on specific individuals or small groups, making it harder to discover.)
Bottom line, you should not trust Java in a web browser at this point. If you must use it, you should take great care.
That said, Java is fine to use for running apps on your computer. (Just as fine as running any app.) It is only really dangerous when enabled in the web browser. You can install Java if you need to, as long as you disable it in your web browser.
For more info, see:
http://www.thesafemac.com/java-is-vulnerable-again/