JDK-7086497 : fx install should remove old java plugin reg. key before creating a new one
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 7u2,7-client
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: linux,windows_xp
  • CPU: generic,x86
  • Submitted: 2011-09-02
  • Updated: 2013-11-26
  • Resolved: 2011-09-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u2 b07Fixed 8Fixed
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.
07-09-2011