Selection of a JRE version is not working for JNLP-launched applets. The version needs to be extracted from the JNLP file and a determination made whether a relaunch is necessary based on information such as the currently running JRE version and the versions of other installed JREs on the system.
Added rudimentary support for JRE version selection in JNLP-launched
applets. Detects if the currently running JRE version does not satisfy
the request in the JNLP file and relaunches the applet specifying
java_version if not. More optimization is possible and will be done in
future putbacks. Auto-download support will also be implemented in a
Also included a few minor code cleanups.