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

Win: Installer in custom mode overrides the higher version JRE without warning

XMLWordPrintable

    • generic, x86
    • other, windows

      Scenario 1) Correct behaviour
      --> Install 1.6.0 JRE (Just keep on pressing
        enter, i.e. non-custom at default location)
      --> Install 1.5.0 JRE (Just keep on pressing
        enter, i.e. non-custom at default location)
      --> Now check for following four keys:
        a) HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}\TreatAs Value: {CAFEEFAC-0016-0000-0000-ABCDEFFEDCBB}

        b) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\JAVA_SUN\SELECT\RegPath
        Value: Software\JavaSoft\Java Plug-in\1.6.0

        c) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\JAVA_SUN\SELECT\Text
        Value: Use JRE 1.6.0 for <applet> (requires restart)

        d) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}\ClsidExtension
        Value: {CAFEEFAC-0016-0000-0000-ABCDEFFEDCBC}

      Above values are exactly what we expect and correct behaviour,
      Now consider

      Scenario 2) Incorrect behaviour
      --> Install 1.6.0 JRE (Just keep on pressing enter, i.e. non-custom at default location)
      --> Install 1.5.0 JRE (Choose custom installation and give location c:\temp\jre)
      --> Now check for following four keys:
        a) HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}\TreatAs Value: {CAFEEFAC-0015-0000-0000-ABCDEFFEDCBB}

        b) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\JAVA_SUN\SELECT\RegPath
        Value: Software\JavaSoft\Java Plug-in\1.5.0

        c) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\JAVA_SUN\SELECT\Text
        Value: Use JRE 1.5.0 for <applet> (requires restart)

        d) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}\ClsidExtension
        Value: {CAFEEFAC-0015-0000-0000-ABCDEFFEDCBC}

      Now these key values are NOT expected and wrong,
      One implication I can see is that IE start using
      older JRE.

      Exactly similar is the scenario for reproducing bug
       with 1.5.0 --> 1.4.2_05 and above 4 keys
      are only affected in this case
      also(Only difference is text is change for different version)

      As per discussion with Bill, Intaller should either:
      --> Warn that you will be overriding newer version
      --> Or by default we uncheck the checkbox for browsers
          going to have that plugin(This sounds little misleading
          as user should be informed)

      ###@###.### 2004-09-03

            billyh William Harnois
            hsinghsunw Hemant Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: