Navigator.javaEnabled() (Method)

A method that tells you whether Java support is enabled in the browser or not.

Availability:

JavaScript - 1.1
JScript - 3.0
Internet Explorer - 4.0
Netscape - 3.0
Opera - 3.0
Property/method value type:Boolean primitive
JavaScript syntax:-navigator.javaEnabled()

You can use this property to check whether the user has enabled Java applet support. The value returned by this method will be the Boolean true or false primitive. This may affect the way that you treat the user when they access your site.