United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6672893 Plugin2: Switching between the new plugin and MSVM is broken
JDK-6672893 : Plugin2: Switching between the new plugin and MSVM is broken

Details
Type:
Bug
Submit Date:
2008-03-07
Status:
Closed
Updated Date:
2010-09-08
Project Name:
JDK
Resolved Date:
2008-06-27
Component:
deploy
OS:
generic
Sub-Component:
plugin
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b26)

Related Reports
Relates:

Sub Tasks

Description
In the old java plugin, switch between sun jvm and msvm can be done by using either java control panel or IE tools/advanced options.

If the new plugin is the default java plugin, from IE tools/advancedoptins menu, deselecte Sun's vm and select msvm. MSVM is not enabled, applet tag is still directed to Sun's jvm.

                                    

Comments
WORK AROUND

Turn off the new plugin (turn on the old plugin) first. Then switch the MSVM.
                                     
2008-03-07
EVALUATION

The issue exists when turning off Sun Java from IE Advanced options. There is no issue when using Java Control Panel to reg/unreg plugin for IE.

The check box in IE advanced options is not equivalent to the check box  in Java control panel "Default java For browsers". The IE checkbox only modifies the "UseJava2IExplorer" registry key value, while the JCP check box does more to clean Applet clsid TreatAs value and to set MSVM back if exists.

In old pluign, unchecking the "Java Sun" checkbox in IE will stop using Sun Java and load MSVM to run <applet> tag. This is done in npjpi.dll to check the "UseJava2IExplorer" registry key before load Sun JVM. In new plugin, jp2iexp.dll does no such check. 

It would desiable to bring the IE checkbox to the same level as the JCP checkbox. One solution is to use SSV module in IE to check the "UseJava2IExplorer" key and call Reg/UnregJava2IExplorer in regutils.dll.
                                     
2008-03-13



Hardware and Software, Engineered to Work Together