[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: java applets



On Sun, 2009-06-28 at 14:18 +0200, Jan Willem Stumpel wrote:
> Frank Lin PIAT wrote:
> 
> > Can you list the plugins in iceweasel, typically, with the _one_line_
> > command:
> > 
> > find /usr/lib/iceweasel/plugins/  -name *.so \
                  ^^^^^^^
                       Do you actually use Icweasel ?

> >   | xargs -n 1 readlink -m | xargs dpkg -S
> > 
> This gives:
> sun-java5-bin:
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.18/jre/plugin/i386/ns7/libjavaplugin_oji.so
                 ^^^^^^^
                    Do you have sun-java5-plugin installed ?


> about:plugins in iceweasel, on the other hand, says I have plugins for
> 
> Shockwave Flash
> Adobe Reader 9.1
> Helix DNA Plugin: RealPlayer G2 Plug-In Compatible

:(

> So neither Icedtea (for openjdk-6) nor the Sun plugin are
> available; 

Note that you can only have one java plugin enabled at a time.

$ ls  /usr/lib/iceweasel/plugins/libjavaplugin.so -al
lrwxrwxrwx. 1 root root 41 2009-06-10 21:35 /usr/lib/iceweasel/plugins/libjavaplugin.so -> /etc/alternatives/iceweasel-javaplugin.so

$update-alternatives --display iceweasel-javaplugin.so 
iceweasel-javaplugin.so - auto mode
 link currently points to /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so
/usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so - priority 63
Current `best' version is /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so.

> and so, of course, applets do not work. It has been
> like this for ages now; am getting a bit desperate. Whatever I do,
> I cannot get a working Java plugin back.

If everything else fails:
- Purge all JRE
  See:   aptitude search "?and(~Pjava-runtime,~i)"
- Purge iceweasel
- Reinstall iceweasel
- Reinstall sun-java6-plugin
- Create a new user account
- Test the JRE on http://java.com/en/download/help/testvm.xml

If that fails, I hope someone else can help you, because I can't think
of anything else.

Franklin


Reply to: