Run it in ie

No, don't its malicious
EDIT: Let me elaborate on that.
First, that's javascript not java.
Second, if you run it using internet explorer on windows your anti virus program should block it off saying something about malicious activity. I'm assuming it tries to install a few viruses.
Funny you post this here, we just encountered that code at my workplace a few days ago.