cancel
Showing results for 
Search instead for 
Did you mean: 

JDK 1.6.0_21 plugin ?

Highlighted
New User

JDK 1.6.0_21 plugin ?

well....not working...from jdk-6u21-linux-i586.bin

libjavaplugin_oji.so conflicts with libnpjp2.so so I left links to libjavaplugin_oji.so into /usr/lib/iceweasel/plugins and put links to libnpjp2.so into /usr/lib/mozilla/plugins and /usr/lib/firefox/plugins....

this way iceweasel works as expected... but no way with FF4...

As I need to work with standard SE (and no sun-java nor openjdk) I think I will have to revert to FF 3.6...

Am I missing something ?

Tags (3)
7 REPLIES
Site Moderator

Re: JDK 1.6.0_21 plugin ?

You need to remove all links to libjavaplugin_oji.so

Firefox versions later than 3.6 only work with the Next Generation plugin (libnpjp2.so)

See http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html

New User

Re: JDK 1.6.0_21 plugin ?

Thank you for answering.

I kept libnpjp2.so in these three directories mentionned above....

Now I get (only Java and Flash from Adobe enabled)

$ firefox --safe-mode Exception in thread "main" netscape.javascript.JSException: Plugin instance for applet ID 2 was already released at sun.plugin2.main.server.LiveConnectSupport.getInfo(Unknown Source) at sun.plugin2.main.server.LiveConnectSupport.shutdown(Unknown Source) at sun.plugin2.main.server.JVMInstance.unregisterApplet(Unknown Source) at sun.plugin2.main.server.JVMInstance.recycleAppletID(Unknown Source) at sun.plugin2.main.server.JVMManager.recycleAppletID(Unknown Source) at sun.plugin2.main.server.MozillaPlugin.stopApplet(Unknown Source) at sun.plugin2.main.server.MozillaPlugin.destroy(Unknown Source)

Is there another plugin running somewhere ?

I had to deinstall some java-common , odbcinst, unixodbc...and now iceweasel works fine again......but still not FF4...

i'm running metacity and gnome both 2.30 versions....may be the problem....

from the bash , for FF4 I get :

      1. !!! [Parent][RPCChannel] Error: Channel timeout: cannot send/recv

Exception in thread "Java Plug-In Pipe Worker Thread (Server-Side)" java.nio.BufferUnderflowException at java.nio.Buffer.nextGetIndex(Unknown Source) at java.nio.DirectByteBuffer.get(Unknown Source) at sun.plugin2.message.transport.NamedPipeTransport$SerializerImpl.readByte(Unknown Source) at sun.plugin2.message.AbstractSerializer.readInt(Unknown Source) at sun.plugin2.message.transport.SerializingTransport.read(Unknown Source) at sun.plugin2.message.Pipe$WorkerThread.run(Unknown Source) Exception in thread "main" netscape.javascript.JSException: Plugin instance for applet ID 1 was already released at sun.plugin2.main.server.LiveConnectSupport.getInfo(Unknown Source) at sun.plugin2.main.server.LiveConnectSupport.shutdown(Unknown Source) at sun.plugin2.main.server.JVMInstance.unregisterApplet(Unknown Source) at sun.plugin2.main.server.JVMInstance.recycleAppletID(Unknown Source) at sun.plugin2.main.server.JVMManager.recycleAppletID(Unknown Source) at sun.plugin2.main.server.MozillaPlugin.stopApplet(Unknown Source) at sun.plugin2.main.server.MozillaPlugin.destroy(Unknown Source) Exception in thread "Java Plug-In Pipe Worker Thread (Server-Side)" java.nio.BufferUnderflowException at java.nio.Buffer.nextGetIndex(Unknown Source) at java.nio.DirectByteBuffer.get(Unknown Source) at sun.plugin2.message.transport.NamedPipeTransport$SerializerImpl.readByte(Unknown Source) at sun.plugin2.message.AbstractSerializer.readInt(Unknown Source) at sun.plugin2.message.transport.SerializingTransport.read(Unknown Source) at sun.plugin2.message.Pipe$WorkerThread.run(Unknown Source)

New User

Re: JDK 1.6.0_21 plugin ?

still no way...I installed xulrunner-1.9.1 xulrunner-dev...copied the link to libnpjp2.so in /usr/lib/xulrunner, xulrunner-1.9.1, iceape, midbrowser, xulrunner-addons, xulrunner-devel-1.9.1....

iceweasel works fine but still not FF4....

still investigating...

tld
New User

Re: JDK 1.6.0_21 plugin ?

I suddenly started getting errors like " Plugin instance for applet ID 1 was already released" in Firefox 3.6.11 under Gentoo with the sun 1.6.22 plugin. I was dead in the water. Manually clearing the Cache directory under my ~/.mozilla profile directory corrected it. I have no clue what it was caching (I even had cache disabled with the Web Developer addon at the time), but it was breaking java bigtime...WTF?

Tom

New User

Re: JDK 1.6.0_21 plugin ?

I remember I had a workaround for this issue in these times (long ago now)....first installing the sun-java6 package from my distro prior to use the standard package from Oracle-Sun and build it with "fakeroot make-jpkg" to have it "distro-packaged-installed"...and almost everything was in place under /usr/lib/vm except renaming the JRE plugin directory from ns7 to ns4... ....if these "souvenirs" can help.....

New User

Re: JDK 1.6.0_21 plugin ?

For me using java from a local network machine worked fine, so this gave me the hint that might be a proxy problem...

i manage to solve this by configuring the java proxy from "use browser settings" to use automatic configuration and my proxy.pac url. please note that the my proxy needs authentication and that i dont have direct web access without the proxy.

New User

Re: JDK 1.6.0_21 plugin ?

I put back the "user browser settings" and its still working fine... maybe a corrupted parameter?

i also, previously, reinstalled from debian the xulrunner and iceweasel (but i'm running mozilla firefox 64bits binary from my home dir, not the debian package), so it might also have done something to fix this