Possible Duplicate:
Determine whether client browser has java installed and can launch applets
I would like to run a check to see whether Java is not installed or if it’s disabled / blocked in IE.
I have tried navigator.javaEnabled() and this works as expected in Firefox (v10.0.2), but in IE8 it returns TRUE. However, IE displays a prompt to the user:
The page you are viewing uses Java.
More information on Java support
is available from the Microsoft website.
The issue I have with this is, there is a checkbox "Do not show this message again" that can obviously be ticked and then there would no longer be any prompt to the user that Java is not enabled.
How can I handle lack of Java support in IE?
And from the same link:
Here’s another example:
Determine whether client browser has java installed and can launch applets