Navigator javaEnabled() method
Navigator object
Definition and Usage
The javaEnabled() method returns a Boolean value indicating whether the browser supports and has enabled Java. If so, it returns true; otherwise it returns false.
Syntax
navigator.javaEnabled()
Browser support





All major browsers support the javaEnabled() method.
Example
Example
The example below will return a Boolean value indicating whether Java is enabled in the current browser:
Output:
Try it »
Navigator object