If allowed to run, a malicious Java applet checks the user's operating system and delivers a payload customized for that platform, whether it's Windows, Mac OS X, or Linux.
Read more:
http://www.securityweek.com/multi-platform-java-exploit-targets-macs-linux-windows