Java and Firefox 3.6

Steve Morris samorris at netspace.net.au
Tue Mar 23 23:30:53 GMT 2010


On 22/03/10 05:51, Nigel Ridley wrote:
> I just noticed that according to about:plugins I don't have the java plugin installed.
> I do have the sun-java-plugin installed and so tried the following:
> nigel at nigel:~$ sudo  ln -s
> /usr/lib/jvm/java-6-sun-1.6.0.15/jre/plugin/i386/ns7/libjavaplugin_oji.so
> /usr/lib/firefox-addons/plugins
> [sudo] password for nigel:
> nigel at nigel:~$ sudo  ln -s
> /usr/lib/jvm/java-6-sun-1.6.0.15/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins
> nigel at nigel:~$
>
> [above code is broken up by mail client's line wrap]
>
> Restarted Firefox (Namoroka actually) but still no java.
>
> On checking the various firefox dirs I do have symbolic links in all the plugin dirs.
>
> How does one get java working?
>
>    
There are two problems here:
1). The java package distributed by Ubuntu neglects to set up the 
symlink for the java plugin.
2). The plugin you tried to symlink to is incompatible with firefox and 
has never been compatible with any version of firefox nor any version of 
java.

The missing symlink can be created by issuing the following command:

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

regards,
Steve

-------------- next part --------------
A non-text attachment was scrubbed...
Name: samorris.vcf
Type: text/x-vcard
Size: 126 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/kubuntu-users/attachments/20100324/323a83c0/attachment.vcf 


More information about the kubuntu-users mailing list