Can U use JavaScript to determine if a specific Java applet is running and redirect in the same way U can determine screen resoultion and redirect?

I am trying to determine if a Java applet has been enabled and if not, redirect to another URL. The java applet is used to authenticate users prior to enabling acces to the www (from the LAN/WAN).