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

New plugin does not pick up jre installed by DT

    XMLWordPrintable

Details

    • b02
    • x86
    • windows_xp
    • Verified

    Description

      FULL PRODUCT VERSION :
      java version "1.6.0_10"
      Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
      Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      Using Internet Explorer 6. I have a page which runs an applet. The applet is certified to run on 1.6.0_06, but 1.6.0_10 is currently installed. I used the deployJava script functions to determine if 1.6.0_06 is installed. If it isn't then then launch the 1.6.0_06 install. The install completes successfully, but my applet does not start up after that.

      If I close the browser and re-open the applet will start successfully.

      I tried adding deployJava.refresh() in the java script following the JRE install, but that did not help.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Install 1.6.0_10 JRE on machine.
      2. Remove 1.6.0_06 JRE from machine.
      3. Visit web page that uses java script to install 1.6.0_06 prior to starting an applet which requires that jre.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      JRE Install correctly
      Applet should start
      ACTUAL -
      JRE installs correctly.
      Applet does not start - applet window is white.

      Must close browser and navigate to page again to get applet to work.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      <script src="http://java.com/js/deployJava.js"></script>

      <script>
      var targetJRE = "1.6.0_06";

      var jres = deployJava.getJREs();

      // detect the jre and launch install if necessary
                          var patt1=new RegExp(targetJRE);
          
                          if (patt1.test(jres)==false)
                          {
      deployJava.installJRE(targetJRE);
      deployJava.refresh();
                          }
      </script>

      ...

      <Object Tag for applet>
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      restart browser following jre install.

      Release Regression From : 6u6
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

      Attachments

        Activity

          People

            hdongorcl Hao Dong (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: