JDK-6854813 : Next Gen plug-in not completely disabled using "UseNewJavaPlugin" reg value
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u14
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2009-06-25
  • Updated: 2012-06-21
  • Resolved: 2012-06-21
Description
FULL PRODUCT VERSION :
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Windows Vista Enterprise w/ SP1

A DESCRIPTION OF THE PROBLEM :
Using the "UseNewJavaPlugin" registry value does not completely disable the 'Next Gen' plug-in.

For example, several version-specific keys still point to the .DLL associated with the 'Next Gen' plug-in.

HKCLR\CLSID\{CAFEEFAC-0016-0000-0014-ABCDEFFEDCBA\InprocServer32
Default = C:\Program Files\Java\jre6\bin\jp2iexp.dll

HKCLR\CLSID\{CAFEEFAC-0016-0000-0014-ABCDEFFEDCBB\InprocServer32
Default = C:\Program Files\Java\jre6\bin\jp2iexp.dll

HKCLR\CLSID\{CAFEEFAC-0016-0000-0014-ABCDEFFEDCBC\InprocServer32
Default = C:\Program Files\Java\jre6\bin\jp2iexp.dll

You can watch these values change when using the following command:

"<path to JRE>\bin\ssvagent.exe" -high -jpisetup -old (to use the old plugin -> ssv.dll)

"<path to JRE>\bin\ssvagent.exe" -high -jpisetup -new (to use the new plugin -> jp2iexp.dll)

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
For example, several version-specific keys still point to the .DLL associated with the 'Next Gen' plug-in.

HKCLR\CLSID\{CAFEEFAC-0016-0000-0014-ABCDEFFEDCBA\InprocServer32
Default = C:\Program Files\Java\jre6\bin\jp2iexp.dll

HKCLR\CLSID\{CAFEEFAC-0016-0000-0014-ABCDEFFEDCBB\InprocServer32
Default = C:\Program Files\Java\jre6\bin\jp2iexp.dll

HKCLR\CLSID\{CAFEEFAC-0016-0000-0014-ABCDEFFEDCBC\InprocServer32
Default = C:\Program Files\Java\jre6\bin\jp2iexp.dll

You can watch these values change when using the following command:

"<path to JRE>\bin\ssvagent.exe" -high -jpisetup -old (to use the old plugin -> ssv.dll)

"<path to JRE>\bin\ssvagent.exe" -high -jpisetup -new (to use the new plugin -> jp2iexp.dll)


REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Using the SSVAgent command described above.