Window navigator.javaEnabled()
Definition and Usage
The javaEnabled() method returns a Boolean value that specifies whether the browser has Java enabled.
Note
Java is a programming language owned by Oracle.
You can read more about Java in our Java Tutorial.
Syntax
navigator.javaEnabled()
Parameters
| NONE |
Return Value
| Type | Description |
| A boolean | true if the browser has Java enabled, otherwise false. |
Browser Support
navigator.javaEnabled() is supported in all browsers:
| Chrome | Edge | Firefox | Safari | Opera | IE |
| Yes | Yes | Yes | Yes | Yes | Yes |