English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Navigator javaEnabled() Method

JavaScript Navigator Object

javaEnabled()This method returns a boolean value specifying whether the browser has enabled Java.

If the browser has enabled Java, this method returnstrueotherwise returnsfalse.

Java is an object-oriented programming language owned by Oracle.

Syntax:

navigator.javaEnabled()
var x = navigator.javaEnabled();
Test See‹/›

Browser Compatibility

All browsers fully support the javaEnabled() method:

Method
javaEnabled()YesYesYesYesYes

Technical Details

Return Value:A boolean value, returns true if the browser has enabled Java; otherwise, it returns false

Related References

Tag Reference:HTML <applet> Tag

JavaScript Navigator Object