Latest web development tutorials
 

Navigator javaEnabled() Method

< Navigator Object

Example

Find out if your browser has Java enabled:

var x = "Java Enabled: " + navigator.javaEnabled();

The result of x will be:

Try it Yourself »

Definition and Usage

The javaEnabled() method returns a Boolean value that specifies whether the browser has Java enabled.


Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Method
javaEnabled() Yes Yes Yes Yes Yes

Syntax

navigator.javaEnabled()

Parameters

None

Technical Details

Return Value: A Boolean, indicating whether the browser has Java enabled.

Returns true if enabled, false if not.

< Navigator Object