JDK-6627840 : Deployment Toolkit updates for new Java Plug-In, add isPlugin2()
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-11-09
  • Updated: 2010-09-08
  • Resolved: 2008-06-13
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 6 JDK 7
6u10 b12Fixed 7Fixed
Description
The DT needs to be updated to add support for the new Java Plug-In. Known issues at this time:

1. Support for per-applet JVM command-line arguments via "java_arguments" parameter.
2. May need updates for JRE version selection for individual applets. Don't know exactly how this is handled, or whether the backward compatibility mechanisms in 6606284 combined with whatever DT currently does will suffice. Direct support for the "java_version" parameter would be preferable.
3. The detection mechanism should be augmented if possible to indicate that the new Java Plug-In is available.
4. In the context of the new Java Plug-In the concept of the "browser Java version" is obsolete and needs to be reconsidered.

There may be other issues.

Comments
EVALUATION adding javascript and plugin method to identify if the new plugin is enabled in the browser: deployJava.isPlugin2().
26-01-2008

EVALUATION I think we have 2 new requirements here. 1.) need to have javascript to determine if java is enabled in the browser. 2.) need to have javascipt to determine if new or old plugin support is enabled. these might be combined into one method that returns an enumerated value such as NO_JAVA, MSVM_JAVA, SUN_JAVA_1, SUN_JAVA_2
07-01-2008

EVALUATION 1. Support for per-applet JVM command-line arguments via "java_arguments" parameter. - all applet parameters are already able to be specified in DT javascript calls. 2. May need updates for JRE version selection for individual applets. Don't know exactly how this is handled, or whether the backward compatibility mechanisms in 6606284 combined with whatever DT currently does will suffice. Direct support for the "java_version" parameter would be preferable. - no new functionality needed here in DT, DT can install latest or any older JRE, or the latest in any family, and can do similar detection. 3. The detection mechanism should be augmented if possible to indicate that the new Java Plug-In is available. - This sounds like a real new requirement. Even if new plugin is default, old plugin will be selectable, or old browsers will trigger old plugin. Need a javascript method to detect which will be used. 4. In the context of the new Java Plug-In the concept of the "browser Java version" is obsolete and needs to be reconsidered. - This is not really exposed at present in DT.
12-12-2007