LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   jdk 1.6.0_21 libnpjp2.so Firefox 4 Debian (https://www.linuxquestions.org/questions/linux-newbie-8/jdk-1-6-0_21-libnpjp2-so-firefox-4-debian-829175/)

desmatt 08-29-2010 02:48 PM

jdk 1.6.0_21 libnpjp2.so Firefox 4 Debian
 
Hi,

don't know if I'm in the right place...

I'm involved into developing a Java module with Standard JDK but I also need it working with beta Firefox 4 (I'm testing with the 4 beta 4) under any Linux...

I'm under Debian Squeeze perfectly running (as far as can see) with custom Kernel.org 2.6.35-3 on a standard x86-32 bits

it seems that the plugin works fine with Iceweasel and NOT with FF4 !!!

Is there ANY way to fix this or will I have to revert to FF3.6.8 until improvements are made either at Oracle/Sun or either Mozilla ?

I had to get rid of both Sun and Open JDK, everything seems ok, even from MyEclipse, EXCEPT the plugin in FF4...

ANY help appreciated

NB : of course I linked libnpjp2.so in every mozilla plugin folder under /usr/lib and had no bindv6only.conf but anyway created one and put net.ipv6.bindv6only = 0 "just in case"

repo 08-29-2010 02:53 PM

Please don't double post

desmatt 08-29-2010 03:34 PM

Sorry...but Java freezes make it messy with refreshes...
 
here is what I get from bash :

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

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)
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)

craigevil 08-29-2010 04:30 PM

If you are running Debian no need to symlink the plugin, installing it with apt/aptitude does it all for you.

Java works just fine here using Firefox 3.6.8 and Firefox 4.0b4.

desmatt 08-29-2010 05:13 PM

Welll.....I forgot to mention that my dev environnment is "totally" (servers , java, dbs, IDEs....) in home/username/....as I may backup and/or move on other machine.... and I need total compatibility of the app between platforms...

I'm this rather likely to use sources than apt....

well... I'll go for it if no other choice as far as it doesn't involve OS-specific issues ...

Thank you for answering anyway...

desmatt 08-30-2010 07:40 PM

welll...what could I say ?....
 
...I was just telling myself that the fact that I had to reinstall OpenOffice above BOTH Sun-Java6 AND OpenJDK-Icedtea to have it working is INCREDIBLE enough to mention.........so for people having (among others) this type of Java issues : OPENOFFICE is THE PATH TO ENLIGHTMENT....

desmatt 08-31-2010 08:23 AM

...more seriously....
 
I have to find the responsible(s) package(s)....wondering if it has something to do with uno/ure (more likely than xulrunner issues ?) ...

desmatt 09-03-2010 10:42 AM

ok then...:)
 
sorry forgot to report....

something was broken somehow somewhere....simply got my system back from a backup and followed the usual procedure (as here, french link, http://bcarrere.blogspot.com/2010/05...ur-debian.html)...

and everything works as expected....

I suspect that I've had simply my /etc/apt/preferences messed up for this to happen...

considering closed (and resolved)


All times are GMT -5. The time now is 04:59 AM.