Java plugin lost after upgrade to 3.6.6 on 8.04 LTS

Asked by kaddidle

I recently upgraded Firefox to 3.6.6 on Ubuntu 8.04 LTS. Since then, I haven't been able to get the Java plug-in to work.

"about:plugins" does not list Java as a plug-in even though it looks like all the "*-javaplugin.so" files are installed.

sun-java6-jre and sun-java6-plugin are installed and I have restarted Firefox several times.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

what is the output of:

file /usr/lib/mozilla/plugins/libjavaplugin.so

Thanks

Revision history for this message
kaddidle (peterson-ca) said :
#2

$ file /usr/lib/mozilla/plugins/libjavaplugin.so
/usr/lib/mozilla/plugins/libjavaplugin.so: symbolic link to `/etc/alternatives/mozilla-javaplugin.so'
$ file /etc/alternatives/mozilla-javaplugin.so
/etc/alternatives/mozilla-javaplugin.so: symbolic link to `/usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so'
$ file /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so
/usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped

Thanks!

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

ok then run:

mkdir ~/.mozilla/plugins; cd ~/.mozilla/plugins/; ln -s /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so

Then restart your browser, should be ok

Revision history for this message
kaddidle (peterson-ca) said :
#4

Tried adding the link and didn't work. Also tried adding the link to ~/.mozilla/plugin/ which also didn't work. Are there any other directories where Firefox might be looking for plug-ins?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

How did you get Firefox 3.6.6 installed?

Revision history for this message
kaddidle (peterson-ca) said :
#6

Upgrade from the Synaptic Package Manager.

If it helps, the first line in "/usr/share/doc/firefox-3.0/changelog.Debian.gz" is:

firefox-3.0 (3.6.6+nobinonly-0ubuntu0.8.04.2) hardy-security; urgency=low

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#7

Try this

gksudo gedit /etc/apt/sources.list

add these 2 lines to the bottom of the file:

deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu hardy main

Save the new file and close gedit

Then run:

sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 247510BE && sudo apt-get-update; sudo apt-get upgrade

Will give you 3.6.8 and may be friendlier.

Revision history for this message
kaddidle (peterson-ca) said :
#8

Did not solve the problem, but received the following update which did solve the problem:

sun-java6 (6.20dlj-0ubuntu1.8.04.1) hardy-security; urgency=low

  * Fix LP: #600642:
  * Clean up the libjavaplugin_oji.so alternative on upgrade, as the OJI
    plugin is not compatible with Firefox 3.6.
    - add debian/JB-plugin.preinst.in
  * Bump the priority of the libnpjp2.so alternative, so it is selected in
    favour of other Java plugins which don't work with the new Firefox version
    - update debian/rules

 -- Chris Coulson <email address hidden> Fri, 02 Jul 2010 11:51:13 +0100

Thanks for all your help!