Need to find JRE Version for Sun Plugin

Discussion in 'Java' started by John, Sep 19, 2003.

  1. John

    John Guest

    I am writing a java program that might be running in any JRE at the
    command prompt.

    Is there a way to determine programmatically what the computer user
    has selected for his default JRE in his browser through the Sun plugin
    without using an applet? For example an API that exposes the plugin
    and allows me to determine the properties the user has set (default
    JRE, what browsers he has installed, etc)

    I understand that you can use System.GetProperty() to determine the
    CURRENT version of the JRE that the program is running in. However
    this could possibly be different from the JRE he has selected to run
    in his browser. For example, he could be using a 1.2 JRE at the
    command prompt, but a 1.4 JRE in Internet Explorer through the Sun

    Any ideas?
    John, Sep 19, 2003
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.