Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8945461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:15:02+00:00 2026-06-15T12:15:02+00:00

My task is to determine whether Java is installed and enabled on the browser

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T12:15:03+00:00Added an answer on June 15, 2026 at 12:15 pm

    This issue has been reported multiple times to the Chromium Project:

    • http://code.google.com/p/chromium/issues/detail?id=36154
    • http://code.google.com/p/chromium/issues/detail?id=108957

    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’s not really clear what the correct behavior here is; it’s not part of the spec, and the description of the expected behavior in MDN is very specific to a preference that not only doesn’t exist in Chrome, but doesn’t even exist in Gecko any more (since it was replaced with the generic ability to enable and disable arbitrary plugins)

    It looks like Chrome returns true based on these conditions:

    Note that it specifically says it does not indicated whether Java is actually supported, only the value of a pref. So if the plugin is not installed, and therefore not explicitly disabled by the user, then according to those docs it should actually return true, not false. And we treat having a plugin installed but disabled exactly like not having it installed for web content purposes.

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently received a request to determine if a user's browser has pre-fetching enabled.
Is there a way to dynamically determine whether the currently executing task is a
What is the best way to determine whether IIS is installed and the version
I am having a lot of trouble with this task. Using the Wikipedia definition
This task was actually given to us as homework, but the requirement in the
I'm using resque/redis on heroku to send emails as a background job. It works
I need to write an ant task to determine if a certain file is
How can a Windows console application written in C# determine whether it is invoked
I'm using C++ to write a ROOT script for some task. At some point
This is the scenario... App is opened User clicks on a button that starts

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.