JDK-6606282 : UI work in Java Applet Runtime Settings for new Java Plug-In
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u5
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-09-18
  • Updated: 2010-09-17
  • Resolved: 2008-06-09
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 b11Fixed 7Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
The UI associated with the Java Applet Runtime Settings dialog in the
Java Control Panel needs work.

At a minimum it needs to be extended to have the capabilities of the
similar dialog for the Java Application Runtime Settings button.
Finding a JRE, adding an entry, and removing an entry need to be
supported.

This is high priority for the new out-of-process Java Plug-In, which
can run an individual applet on a particular Java version just like
Java Web Start. Therefore better management of available JRE versions
for applets is urgently needed.

Comments
SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u10/6606282.0
11-01-2008

EVALUATION Several changes were made to the Java Applet Runtime Settings dialog to make it more useful in the context of the new Java Plug-In: - The "Enabled" checkbox, present in the Java Application Runtime Settings dialog, has been included. This is useful for being able to force a given applet which is explicitly requesting an older JRE to run on top of the current one, by disabling the older JRE in the Java Control Panel. This functionality was motivated by real-world applets: in particular, the uploader applet from the photo web site smugmug.com, which explicitly requests to run on 1.4 via the version attribute in the embed tag, but which we would like to be able to run on 1.6. By default, JREs available to the Java Plug-In are enabled. They are only disabled by explicit user action in the Java Control Panel. - The Add and Remove buttons have been included for all platforms, not just Unix platforms. - The Find button, present in the Java Application Runtime Settings dialog, has been included. - An option was added to the JreFindDialog and JreLocator to cause them to return the path to the JRE, which is what the new Java Plug-In wants, rather than the path to the javaw.exe executable contained within, which is what Java Web Start wants. - Based on review feedback, the find.intro resource used by the JreFindDialog was renamed to find.intro.javaws, and a new find.intro.jpi resource was added, which needs localization. The new plug-in's JVMManager was also modified to pay attention to the "enabled" bit, but to forbid the disabling of all JREs, which would prevent launching any applets. These changes have been tested so far on Windows with a manual Multiple JRE applet test and all of the functionality has been verified. This is a late checkin for the current build, but one we strongly want to get in now so we don't add this in the beta candidate build, but have one build to let it soak and to do localization.
11-01-2008