This method is removed (deprecated) in the latest web standard.
The javaEnabled() method always returns false: