Java?
Would that be the same Java that isn't even included with a default OS X install any more?
I haven't even bothered enabling Flash, let alone Java, in years. Neither are endorsed as standards by the W3C, so any website that cannot be viewed without either (or both) of them is clearly not standards-compliant. Such sites should be shunned until their developers get a clue.
(In the interests of not feeding the anti-Apple trolls, I should probably mention that I also use Windows and, yes, Flash and Java are both absent from my Windows 7 partition too. I haven't missed them.)
If you do get hit by this malware, you're holding the internet the wrong way.