My task is to determine whether Java is installed and enabled on the browser the user came with.
I am using navigator.javaEnabled() method for this.
It works ok everywhere except for Chrome browser: it shows TRUE even if there is no Java plugin installed on Chrome at all.
Is this a bug or a feature?
How can I solve my task in Chrome?
Chrome 23, Windows.
This issue has been reported multiple times to the Chromium Project:
The former is open, the latter closed as WontFix.
There seems to be some disagreement in the community on what the value should return:
It looks like Chrome returns true based on these conditions:
Emphasis mine
So, the only solution that I can think of to detect if Java is running is to actually put an Applet on the page and see if you can interact with it from JavaScript.