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.