Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6446646

Java Control Panel : need a overall way to choose default java version

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • P3
    • Resolution: Future Project
    • 6
    • 8
    • deploy

    Description

      A DESCRIPTION OF THE REQUEST :
      At this time, there is no way to configure the current version beeing used by default (on Javaplugin, on webstart or lanching java from the CLI).
      By default, latest version is used.

      JUSTIFICATION :
      There are situation where you got a newer version setup but want an older to be run by default. One of this situation is when testing the latest Java beta. There you might want to "downgrade" at any time the default VM beeing used in order to be able to run a software that is having some issue with this beta.

      At this time the only 100% viable solution is to uninstall the beta.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      When going into XP Control Panel, clicking to Java, you can get a combo box for the default java version to use.

      Choosing another version will set the underlying matching VM by default.
      ACTUAL -
      At this time, the list of all the Java VM version is there but there is no way of setting the default one to be used. And actually the current behaviour set the latest version to be used by default. On XP it is possible to dig into the Windows registry but the result is not consistent accross the various browers and Java "context" (Firefox, IE, CLI ...).

      CUSTOMER SUBMITTED WORKAROUND :
      You can go and update into the registry the entries :
      HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion

      HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\CurrentVersion

      HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\CurrentVersion

      This is is a workaround for the CLI and JNLP usage, but this is not working for JavaPlugin in my Firefox 1.5 XP config :( So it is not a complete workaround at this time.

      Anther possible workaround is to remove the keys from the Java VM you do not want to be used by default. But this is not very software friendly as it could have side effect.

      Attachments

        Activity

          People

            herrick Andy Herrick (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: