United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7086497 : fx install should remove old java plugin reg. key before creating a new one

Details
Type:
Bug
Submit Date:
2011-09-02
Status:
Closed
Updated Date:
2013-11-26
Project Name:
JDK
Resolved Date:
2011-09-14
Component:
deploy
OS:
linux,windows_xp
Sub-Component:
plugin
CPU:
x86,generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
7u2,7-client
Fixed Versions:
7u2 (b07)

Related Reports
Backport:

Sub Tasks

Description
This CR is for addressing JIRA RT-16581.

the machine has both 6u26 and 7 java plugin registered:

@java.com/JavaPlugin,version=1.6.0_26
@java.com/JavaPlugin,version=10.0.1

FF will go through the MozillaPlugins reg. keys in alphbetical order and will attempt to load the dll in that order.
Without the 1.6.0_26 key, FF will use the jre7 version of java plugin.

This bug will need to be fixed in the fx installer.

During install, fx installer should update the @java.com/JavaPlugin reg. key instead of adding a new one.
During uninstall, fx installer should update the @java.com/JavaPlugin reg. key to point to the remaining latest version of java plugin on the machine.

                                    

Comments
EVALUATION

Fix in fx installer including the following:

1) remove all @java.com/JavaPlugin registry keys before registering the current plugin version;

2) check if current plugin is registered. If it is, remove all @java.com/JavaPlugin registry keys before re-registering the remain java plugin on the machine;

3) for older java plugin version, don't append version info (,version=x.y.z) to the @java.com/JavaPlugin reg. key;

4) corrected MIMEVERSION for older JRE which should be the same as the JRE version.
                                     
2011-09-07



Hardware and Software, Engineered to Work Together