Java and Firefox 3.6

Reinhold Rumberger rrumberger at web.de
Wed Mar 24 02:42:01 UTC 2010


On Wednesday 24 March 2010, Nigel Ridley wrote:
> On 03/24/2010 01:30 AM, Steve Morris wrote:
> > sudo update-alternatives --install
> > /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so
> > /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 50
> 
> Just before I try what you mentioned, what is the '50' at the end
> of the command? And could you explain the command a little...

The 50 is rather easy: unless you specifically select an alternative, 
the one with the highest priority is chosen by the update-
alternatives command. The 50 is the priority of the alternative that 
command installs. The rest of the command installs an alternative for 
"mozilla-javaplugin.so" pointing to "/usr/lib/jvm/java-6-
sun/jre/lib/i386/libnpjp2.so". The first path is the path that will 
be linked to the alternative.
For detailed info, see "man update-alternatives"
It makes the whole trying-to-find-the-right-plugin thing a little 
less static and the program trying to find the plugin won't have to 
either know its location or search dozens of possible, distribution-
dependant locations.
It really is something an installer should do for you...

  --Reinhold




More information about the kubuntu-users mailing list