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

Re: sun-java6-plugin on amd64



Todd A. Jacobs wrote:
> I can't seem to get the Java6 plugin working on my 64-bit
> testing/unstable system. I have the following installed:
> 
>     sun-java6-bin                                   install
>     sun-java6-jre                                   install
>     sun-java6-plugin                                install
> 
> The Sun JVM seems to be the system default:
> 
>     $ update-alternatives --display java
>     java - manual mode
>      link currently points to /usr/lib/jvm/java-6-sun/jre/bin/java
>     /usr/bin/gij-4.2 - priority 42
>     /usr/bin/gij-4.3 - priority 43
>     /usr/bin/gij-4.4 - priority 1044
>     /usr/lib/jvm/java-6-openjdk/jre/bin/java - priority 1061
>      slave java.1.gz: /usr/lib/jvm/java-6-openjdk/jre/man/man1/java.1.gz
>     /usr/lib/jvm/java-6-sun/jre/bin/java - priority 63
>      slave java.1.gz: /usr/lib/jvm/java-6-sun/jre/man/man1/java.1.gz
>     /usr/lib/jvm/java-gcj/jre/bin/java - priority 1043
>      slave java.1.gz: /usr/lib/jvm/java-gcj/man/man1/java.1.gz
>     Current `best' version is /usr/lib/jvm/java-6-openjdk/jre/bin/java.
> 
> and yet Iceweasel steadfastly refuses to acknowledge the java6 plugin in
> about:plugins. Has anyone actually gotten the 64-bit java6 plugin to
> work, and if so, what is the missing incantation?
> 

Hi,

Squeeze amd64 up to date :

update-alternatives --display  iceweasel-javaplugin.so
iceweasel-javaplugin.so - automatic mode
 link currently points to /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so
/usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so - priorité 63
Current `best' version is
 /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so.

and about:plugins reports the right plugin.

It's :
apt-cache policy sun-java6-plugin
sun-java6-plugin:
  Installé : 6-16-1
  Candidat : 6-16-1

I use Sid's iceweasel :

apt-cache policy iceweasel
iceweasel:
  Installé : 3.5.4-1
  Candidat : 3.5.4-1


But everything is not shinny, when I try the Sun java testing applet I
end up with a very badly corrupted screen, killing Iceweasel isn't
enough to recover, I have to log out my session (it doesn't crash kde4).
I just found out about it following your post, didn't look into it yet...

As stated in update-alternatives output it's in "automatic" mode, I
don't remember doing anything special to get it to work.

Have fun.


Reply to: