LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2010, 02:48 PM   #1
desmatt
LQ Newbie
 
Registered: Aug 2010
Posts: 7

Rep: Reputation: 0
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"

Last edited by desmatt; 08-29-2010 at 02:52 PM. Reason: precisions
 
Old 08-29-2010, 02:53 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Please don't double post
 
Old 08-29-2010, 03:34 PM   #3
desmatt
LQ Newbie
 
Registered: Aug 2010
Posts: 7

Original Poster
Rep: Reputation: 0
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)
 
Old 08-29-2010, 04:30 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
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.
 
Old 08-29-2010, 05:13 PM   #5
desmatt
LQ Newbie
 
Registered: Aug 2010
Posts: 7

Original Poster
Rep: Reputation: 0
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...
 
Old 08-30-2010, 07:40 PM   #6
desmatt
LQ Newbie
 
Registered: Aug 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Smile 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....
 
Old 08-31-2010, 08:23 AM   #7
desmatt
LQ Newbie
 
Registered: Aug 2010
Posts: 7

Original Poster
Rep: Reputation: 0
...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 ?) ...
 
Old 09-03-2010, 10:42 AM   #8
desmatt
LQ Newbie
 
Registered: Aug 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Thumbs up 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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] jdk 1.6.0_21 libnpjp2.so Firefox 4 Debian desmatt Linux - Newbie 1 08-30-2010 01:53 PM
jdk, java plugin and firefox problem ricguitar Fedora 19 08-08-2007 01:30 AM
How to install JDK , Debian and in general... lumix Linux - Software 17 03-20-2007 11:24 AM
jdk for debian win2suse Debian 1 08-31-2006 10:46 AM
How do I Uninstall Firefox, Jre, jdk, Mozilla TSynergy Linux - Newbie 2 11-18-2004 05:35 PM


All times are GMT -5. The time now is 09:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration