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

Unable to load the JRE using the Oracle provided javascript files

    XMLWordPrintable

    Details

      Description

      FULL PRODUCT VERSION :
      1.7.01

      ADDITIONAL OS VERSION INFORMATION :
      VIsta SP2 32 bit

      A DESCRIPTION OF THE PROBLEM :
      I am using the following to keep the install process local

      <script>
      // check if current JRE version is greater than 1.6.0
      alert("versioncheck " + deployJava.versionCheck('1.6.0_10+'));
      if (deployJava.versionCheck('1.6.0_10+') == false) {
      userInput = confirm("You need the latest Java(TM) Runtime Environment. Would you like to update now?");
      if (userInput == true) {
      // Set deployJava.returnPage to make sure user comes back to
      // your web site after installing the JRE
      deployJava.returnPage = location.href;
      // install latest JRE or redirect user to another page to get JRE from.
      deployJava.installLatestJRE();
      }
      }
      </script>

      When the Jre is not present, an install is agreed to and a dialog appears saying that

      1.7_01 estimate to download is zero, and the browser hangs, I cannot close the window
      other aspects of the system are working. I cannot move the browser window. I have waited
      over ten minutes. It fails each time as an admin user.
      Windows Vista SP2 x86
      IE9 9.08.8112.16421

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      On Vista SP2 32 bit
      Make sure there is no jre on the system
      use the above javascript to install the jre
      Using Internet explorer got o a web page with the above code and observe if the installation process completes


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The JRE installs without the user leaving our website
      ACTUAL -
      The browser hangs and the user is unable to use the browser. The browser has to be killed. Most users will have to reboot the machine.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      None, it says time to load is zero.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      I am using the following to keep the install process local

      <script>
      // check if current JRE version is greater than 1.6.0
      alert("versioncheck " + deployJava.versionCheck('1.6.0_10+'));
      if (deployJava.versionCheck('1.6.0_10+') == false) {
      userInput = confirm("You need the latest Java(TM) Runtime Environment. Would you like to update now?");
      if (userInput == true) {
      // Set deployJava.returnPage to make sure user comes back to
      // your web site after installing the JRE
      deployJava.returnPage = location.href;
      // install latest JRE or redirect user to another page to get JRE from.
      deployJava.installLatestJRE();
      }
      }
      </script>

      When the Jre is not present, an install is agreed to and a dialog appears saying that

      1.7_01 estimate to download is zero, and the browser hangs, I cannot close the window
      other aspects of the system are working. I cannot move the browser window. I have waited
      over ten minutes. It fails each time as an admin user.
      Windows Vista SP2 x86
      IE9 9.08.8112.16421
      ---------- END SOURCE ----------

      SUPPORT :
      YES

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: