United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7166122 Internet Browsers Do Not Recognize Java 7u4 Plugin
JDK-7166122 : Internet Browsers Do Not Recognize Java 7u4 Plugin

Details
Type:
Bug
Submit Date:
2012-05-03
Status:
Resolved
Updated Date:
2012-05-09
Project Name:
JDK
Resolved Date:
2012-05-09
Component:
deploy
OS:
windows_7
Sub-Component:
plugin
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
FULL PRODUCT VERSION :
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b20)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Windows 7, 64-bit SP1 English (US)

EXTRA RELEVANT SYSTEM CONFIGURATION :
This bug occurred on a completely fresh Install of Windows 7.

Java 7u4 is the only JRE installed .

Internet Explorer Version: 8.0.7601._17514
Firefox Version: 12.0

A DESCRIPTION OF THE PROBLEM :
Internet browsers do not detect the Java plugin if the Java 7u4 JRE is installed on a fresh Windows 7 OS.

When upgrading to Java 7u4, however, the Java plugin is recognized by the browser. For example if I upgrade from Java 7u3 to Java 7u4, the plugin is recognized.

  To check for the Java plugin, I am using the isPluginInstalled function from the deployJava.js file, which can be found at http://www.java.com/js/deployJava.txt.

I debugged the isPluginInstalled method from deployJava.js, and the plugin object has a null contentDocument attribute, which should contain information about the Java plugin.

This error didn't occur with Java 7u3.

REGRESSION.  Last worked in version 7


REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
One workaround is to not use Java 7u4. Another workaround is to upgrade to Java 7u4 from a previous Java version.

                                    

Comments
SUGGESTED FIX

http://closedjdk.us.oracle.com/jdk8/deploy/deploy/rev/d2419b36b13a
                                     
2012-05-04
EVALUATION

Problem:  external report fresh new win7 machine with 7u4 installed only cannot use DT plugin.

In 7u4 - we do not set the old CLISD anymore.  But we also missed to set this key:  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{CAFEEFAC-DEC7-0000-0000-ABCDEFFEDCBA}

And also, deployJava.js is still using the old DT CLSID.

So with machine that do not have compatibilty key set and only install 7u4 - DT plugin will not work.

Fix:

1.  add back the above Compatibility key.
2.  update deployJava.js to use new CLSID. 
3.  minor unrelated fix in testUsingActiveX to allow it to run in ff/chrome

Testcase:  manually built fx installer with updated dll to verify fix
                                     
2012-05-04



Hardware and Software, Engineered to Work Together