Comment 7 for bug 440478

Revision history for this message
Jakob Lund (jakob-bebop) wrote : Re: [Bug 440478] Re: karmic beta1: Sun Java plugin does not load

I cant' figure out how to work around this --- I tried the symlinking to
~/.mozilla/plugins solution that Bogdan suggested above (only I'm on a 32bit
machine so the path is different), but it doesn't work here.

On Fri, Oct 9, 2009 at 3:49 PM, Bogdan Gribincea <<email address hidden>
> wrote:

> To make it work with Firefox 3.5+ on Karmic x64 i had to do the
> following:
>
> - sudo aptitude install sun-java6-jre sun-java6-bin sun-java6-plugin
> - sudo aptitude purge openjdk-6-jre openjdk-6-jre-headless
> openjdk-6-jre-lib icedtea6-plugin
> - mkdir ~/.mozilla/plugins && ln -s
> /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/amd64/libnpjp2.so
> ~/.mozilla/plugins
>
> Voila.
>
> One thing to note is that the plugin did get loaded in Firefox 3.0.x
> without this 'fix'. So, I guess the plugin doesn't have the correct
> symlinks to make it work with 3.5+
>
> --
> karmic beta1: Sun Java plugin does not load
> https://bugs.launchpad.net/bugs/440478
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “firefox-3.5” package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: firefox-3.5
>
> I installed sun-java6-jdk and sun-java6-plugin. Firefox doesn't load the
> plugin, but shows a light-gray square where the applet should be.
>
> I tried to:
> * rename my ~/.mozilla/firefox directory, so Firefox would use default
> settings
> * Change the plugin via the "manage content plugins" menu option
> * create a symlink to
> /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so in my
> ~/.mozilla/plugins directory
>
> Neither worked.
>
> Perhaps related: I had some weird problem with installing sun-java6-sdk
> after updating my machine to karmic (alpha 5 ath the time) from jaunty; I
> had to manually uninstall the sun-java6-plugin package and THEN run "apt-get
> autoremove" before apt-get could work out the dependencies to install the
> -jdk package.
>
> Any idea how to fix / debug this?
>