[Javascript] Detecting Java (JRE) through JavaScript
Edwin Martin
edwin at bitstorm.org
Thu Sep 6 02:55:27 CDT 2007
JS Student schreef:
> I have a java applet on my webpage. It works on most browsers but on
> certain broswers (like IE7) that have JRE disabled by default, it
> doesn't work.
>
> I want to detect whether JRE is installed or not and if it is
> installed, is it enabled or disabled. Can this be done in JS? If so
> can someone please tell me how?
Use Liveconnect.
Don't use navigator.javaEnabled, because it only tells you if the user
has turned it on or off. It can be true even if the JVM is not installed.
Edwin Martin
More information about the Javascript
mailing list