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

Browser Helper Objects missing after install

XMLWordPrintable

    • windows_7

      FULL PRODUCT VERSION :
      java version " 1.7.0_15 "
      Java(TM) SE Runtime Environment (build 1.7.0_15-b03)
      Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 Enterprise SP1 (x86 and x64)

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Using SCCM 2012 SP1 to install Java 7 Update 9 - 15

      A DESCRIPTION OF THE PROBLEM :
      When SCCM installs Java 7, it does so on each client computer using its System account. I've found that when this happens while a user who is not in the administrators group has IE open (but not using Java), the Java Browser Helper Objects fail to install. No error is reported by the installer, either by its exit code or its log file.

      During a typical install / Update cycle in our organization, about 11% of the machines will end up in this state after the first install attempt.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Use 2 computers as follows:
      ComputerA (Windows 7 Enterprise SP1 x86)
      ComputerB (Windows 7 Enterprise SP1 x86)
      Both computers need to be joined to the same domain and the user logged into Computer B needs to be an administrator on both computers.

      1. Login as a User (that is only a member of the Users group) on ComputerA and open Internet Explorer. Go to google.com or some page that does not use the Java Browser Helper Objects.
      2. On ComputerB, use Sysinternals PSEXEC to open an interactive command prompt as the System account. Do this at an Administrator command prompt: " psexec \ComputerA -s cmd /k "
      3. Do a silent install of Java Update 15 using files that are on ComputerB. Enter this at the open command prompt from the folder that contains the JRE installer file:
      start /wait jre-7u15-windows-i586.exe /s /v " /norestart "
      4. When the installer finishes, close Internet Explorer on ComputerA. Re-open and verify the Java Browser Helper Objects do not show up in the list of Add-ons.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Java should install correctly and consistently install its Browser Helper Objects (Internet Explorer Add-ons)
      ACTUAL -
      This fairly often results in Internet Explorer not having any Java Add-ons installed.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      No errors show up in the install log file, and the exit code of the installer is 0

      REPRODUCIBILITY :
      This bug can be reproduced often.

      CUSTOMER SUBMITTED WORKAROUND :
      When creating the Application in SCCM 2012, set the Detection Criteria to look for the 32 bit Browser Helper Objects. If not found, it will re-install Java. In the install script, I've set it up to uninstall the current version of Java before installing. This causes a complete re-install to occur if the Browser Helper Objects are not found. This doesn't always work (it has about the same success rate as the original install/update), but this does make the deployment fix the vast majority of broken installs fairly quickly.

            vdrozdov Victor Drozdov (Inactive)
            webbuggrp Webbug Group
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: