Sometimes you need to switch to a different JVM version in order to run a certain java application, due to compatibility issues - for instance, refer to issue <a href="http://bugs.centos.org/view.php?id=6416">0006416</a> for one example. This is quite easy if you use java directly, as the setup supports multiple parallel versions with selection of a default, via the "alternatives" system, and packages for several different Java variants are available.<br />
<br />
However, if you load the program (applet) via the web browser, you are pretty much locked to one specific version, as the icedtea-web plugin is built with a hard-coded path to the java binary of one specific java package, and you can't really install more than one version at a time<br />
<br />
If would be nice if you could somehow configure what java version exactly would be used. Possible solutions:<br />
1. Add a separate config mechanism to the plugin.<br />
2. Build the plugin so that it points to the "default" java location as provided via "alternatives", rather than a specific version. Essentially, this is a question of setting "jre-home" to "/usr/lib/jvm/jre" rather than something like /usr/lib/jvm/jre-1.7.0-openjdk.x86_64 when building.<br />
3. Provide separate icedtea-web versions for separate java variants, for parallel installation and selection via "alternatives" of the plugin to use. This is actually partially supported already.
↧