Skip to main content

Where to find Plugin2 for Linux?

5 replies [Last post]
linuxhippy
Offline
Joined: 2004-01-07

Hi there,

I've downloaded jdk6u10-b09 for Linux (the self-extracting jdk package) and I wonder where I can find the new plugin2 shared library for FireFox3 (B2). I searched and even used find, but it does not seem to be there :-/
Any ideas where to search for it?

Thank you in advance, lg Clemens

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kbr
Offline
Joined: 2003-06-16

It's there, under jre/lib/i386/libnpjp2.so, as per the testing instructions at https://jdk6.dev.java.net/testPlugIn.html . I just downloaded the Linux b09 JRE and JDK binaries to verify its presence.

linuxhippy
Offline
Joined: 2004-01-07

Ah thanks a lot - yes it was there and it works great :)
All bugs I reported for the old plugin seem to be fixed - the only thing I wonder about is wether its intentional that no red X is shown is applet loading failed (e.g. exception in init)?

However wouldn't it be better placed in the plugin-directory just because it always used to be there (e.g. plugin2)? Many users are comfortable searching there for the plugin, many will not even notice that there is a new one available on Unix?

I played a bit with it and its working really good, except some issues I had when using thinkfree-office power-edit:
[code]
java.lang.ClassCastException: sun.plugin2.main.client.XPluginEmbeddedFrame cannot be cast to com.tf.write.p
at com.tf.write.b.windowClosed(Unknown Source)
at java.awt.Window.processWindowEvent(Window.java:1833)
at java.awt.Window.processEvent(Window.java:1788)
at java.awt.Component.dispatchEventImpl(Component.java:4472)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Window.dispatchEventImpl(Window.java:2443)
at java.awt.Component.dispatchEvent(Component.java:4302)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at sun.plugin2.message.Queue.waitForMessage(Queue.java:61)
at sun.plugin2.message.Pipe.receive(Pipe.java:90)
at sun.plugin2.main.server.JVMInstance$WorkerThread.run(JVMInstance.java:444)
[/code]
It seems the new Plugin breaks some vague assumptions about how the layout-structure.

Thanks for the great work, lg Clemens

kbr
Offline
Joined: 2003-06-16

The Red X is only displayed if loading of the applet's classes failed. I don't believe there is any difference in behavior between the old and new plug-ins in this regard.

We will deal with all packaging issues later in the release.

Thanks for the note about ThinkFree office. This is an app we should be testing with and I'll try to see that this gets investigated.

linuxhippy
Offline
Joined: 2004-01-07

> The Red X is only displayed if loading of the
> applet's classes failed. I don't believe there is any
> difference in behavior between the old and new
> plug-ins in this regard.
With the old plugin it was also displayed if an exception was thrown in init(), maybe even in start() - however I don't think this should be a problem at all.

> Thanks for the note about ThinkFree office. This is
> an app we should be testing with and I'll try to see
> that this gets investigated.
Thanks for looking into this. Btw. its still working, it just prints out that execption which it does not do with the old plugin.

lg Clemens

kbr
Offline
Joined: 2003-06-16

> With the old plugin it was also displayed if an
> exception was thrown in init(), maybe even in start()

Oops, you're right. I've filed 6651293 to track this.