2009-03-29

Using the SUN java plugin in Firefox under Fedora

For some stupid reason the danish tax self-service doesn't work with openjdk. So I had to install the Sun version. I took the time to do it properly with alternatives:

Install Suns java:
rpm -ihv jre-6u12-linux-i586.rpm
Register it as a high priority alternative for libjavaplugin.so:
alternatives --install /usr/lib/mozilla/plugins /libjavaplugin.so libjavaplugin.so /usr/java/jre1.6.0_12 /plugin/i386/ns7/libjavaplugin_oji.so 20000
And select which alternative to use:
alternatives --config libjavaplugin.so