Bug#658410: Java doesn't work on Iceweasel with sun-java6-plugin

Anton arringvo at broadpark.no
Mon Apr 16 21:45:46 UTC 2012


My system:
Linux 2.6.32-5-686
Debian 6.0.4 stable Squeeze
Package: sun-java6-plugin
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Architecture: i386
Source: sun-java6
Version: 6.26-0squeeze1

While using Debian 5 this plugin worked. Coming to ver. 6 I had the same
problem as you, it did not work anymore.
After much work on the problem I found a solution at least for me.
It seems the plugin looks in the wrong place in spite of the
alternatives system in Debian. It looks in the mozilla/netscape
folder /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7 where the file
libjavaplugin_oji.so resides. This file belongs to sun-java6-bin.
/etc/alternatives/iceweasel-javaplugin.so (or epiphany-javaplugin.so)
points to the correct plugin
file /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so.
So I created a
symlink /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/@libjavaplugin.so to
point to /etc/alternatives/iceweasel-javaplugin.so.
This solved the problem.
Why the plugin finds its way through the mozilla/netscape
folder ../i386/ns7 lies in the plugin I think.

Arnfinn







More information about the pkg-java-maintainers mailing list