目录

Window navigator.javaEnabled()

Example

Is Java enabled in your browser?

let java = navigator.javaEnabled();
Try it Yourself »

Description

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