5 Replies Latest reply: Mar 16, 2012 12:14 PM by 893179 RSS

    IE8 prompting to auto download wrong plugin version

    799835
      Hi All,

      I have problem auto-downloading the latest java plugin 1.6 in IE 8.

      I have an applet which is configured to use the latest java version installed on the client machine. If java is not found, it is expected to download java plugin 1.6.0.21 [as configured in applet codebase].

      When i uninstall java on my local machine and try running html containing applet in IE 8, it is prompting to download java plugin 1.4.2_08 instead of 1.6.0.21.

      Please let me know where exactly IE8 is taking the plugin version?

      Applet classid and code base are as below.

      classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
      codebase = https://java.sun.com/update/1.6.0/jinstall-6u21-windows-i586.cab#Version=1,6,0,21


      Thanks
      Avinash K.P
        • 1. Re: IE8 prompting to auto download wrong plugin version
          893179
          The version string in the codebase param is incorrect, it should be Version=6,0,21,7
          The digit 7 correponds to the build number.

          So codebase should look like:
          codebase = "http://java.sun.com/update/1.6.0/jinstall-6u21-windows-i586.cab#Version=6,0,21,7"

          Actually, a better way is to use the deployment toolkit for JRE detection and download.
          See below document for details:
          http://docs.oracle.com/javase/tutorial/deployment/deploymentInDepth/depltoolkit_index.html

          A best practice is to use the latest available public release or to use the latest update release in the same JRE family. We're going to remove the browser autodownload feature most likely in jdk 8 or sooner.
          • 2. Re: IE8 prompting to auto download wrong plugin version
            799835
            Hi Calvinc

            Thanks for replying.

            I have tried changing version number as suggested by you, but problem persist.
            Its still pointing to java-plugin 1.4.0.

            FYI, I have tried below steps

            1. Uninstalled java on my local machine, however while uninstalling java 6 update 21 and 10, its showing
            'Fatal error while installation' error message. And i am not able to remove these entries from 'Add or Remove Programs'.

            2. Manually removed Java Run time entry from below path.
            C:\WINDOWS\Downloaded Program Files

            3. Removed Registry entries under JavaSoft.


            Guess i have messed up things pretty well :)

            Thanks
            Avinash K.P

            Edited by: Avinash K P on Mar 15, 2012 10:58 AM
            • 3. Re: IE8 prompting to auto download wrong plugin version
              893179
              Can you try to manually download JRE 6 update 21 from the following archive page?
              http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html

              Install it after download.

              If install sucessful, try to uninstall it again.

              Hope it will bring your machine back to a clean state.
              • 4. Re: IE8 prompting to auto download wrong plugin version
                799835
                Hi calvinc

                I have tried installing/uninstallin Java 6 but problem still persist.

                Thanks
                Avinash

                Edited by: Avinash K P on Mar 16, 2012 3:53 PM
                • 5. Re: IE8 prompting to auto download wrong plugin version
                  893179
                  Were you able to install 6u21?

                  Do you have other old JREs on the machine?
                  You should uninstall them if you do.

                  If you want to get the latest version of JRE 6 update 31, you can go to http://java.com