Hide Forgot
Description of problem: The new icedtea-web package contains the plugin at /usr/lib/IcedTeaPlugin.so. The problem is that system-switch-java doesn't expect such a location and doesn't switch libjavaplugin.so(.x86_64) to it. Version-Release number of selected component (if applicable): system-switch-java-1.1.5-2.el6 How reproducible: Always Steps to Reproduce: 1. Install java-1.6.0-sun-plugin 2. Install icedtea-web 3. Run system-switch-java and switch the java toolset to OpenJDK 1.6.0 Actual results: java, javac etc. are switched to OpenJDK, but the SUN plugin remains set Expected results: The browser plugin link is set to IcedTea, too. Additional info: It's a regression that isn't caused by s-s-java itself but by a change in icedtea-web. Please fix s-s-java or revert the plugin location change.
I think I can fix this issue in s-s-java, but before posting solution (which will be quite complex) I would like to ask why plugin was renamed and moved and weather it is not worthy to rename it back.
It was moved to install in an LSB compliant location.
Created attachment 518504 [details] proposed patch This is proposed patch. It also fix 731039, Sorry for not delivering them separately, but they are quite bound together.
Re-opening and changing component. The fix to system-switch-java is incorrect. s-s-j has no knowledge of which JDK icedtea-web was built against and therefore it should not be deciding when the plug-in is to be selected. The right fix is for icedtea-web to create a proper link in JRE_HOME so that the existing system-switch-java works.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1624.html