Jump to content

Firefox 3.0.7 & java plugin [solved]


stanituo
 Share

Recommended Posts

Hi,

I have this error on Firefox 3.0.7 when I try to open internet pages with java applet:

 

gcjwebplugin error: Failed to run /usr/lib/mozilla/plugins/../../bin/pluginappletviewer

 

Any suggestion?

Where I can start to debug this problem?

Edited by stanituo
Link to comment
Share on other sites

rpm -qa | grep java
ll /usr/lib/mozilla/plugins

 

$ rpm -qa | grep java
java-1.7.0-icedtea-1.7.0.0-24.614.2mdv2008.1
openoffice.org-java-common-2.4.1.10-1.3mdv2008.1
java-1.6.0-sun-plugin-1.6.0.06-2mdv2008.1
java-1.6.0-sun-alsa-1.6.0.06-2mdv2008.1
java-1.6.0-sun-1.6.0.06-2mdv2008.1
java-1.6.0-sun-fonts-1.6.0.06-2mdv2008.1
java-1.7.0-icedtea-plugin-1.7.0.0-24.614.2mdv2008.1
timezone-java-2008i-1mdv2008.1
java-1.6.0-sun-jdbc-1.6.0.06-2mdv2008.1
openoffice.org-javafilter-2.4.0-9276
java-access-bridge-1.22.0-0.0.1mdv2008.1

 

$ ll /usr/lib/mozilla/plugins
total 968
-rwxr-xr-x 1 root root 77700 2008-02-29 01:05 gecko-mediaplayer-dvx.so*
-rw-r--r-- 1 root root  1339 2008-02-29 01:05 gecko-mediaplayer-dvx.xpt
-rwxr-xr-x 1 root root 77860 2008-02-29 01:05 gecko-mediaplayer-qt.so*
-rw-r--r-- 1 root root  1339 2008-02-29 01:05 gecko-mediaplayer-qt.xpt
-rwxr-xr-x 1 root root 77892 2008-02-29 01:05 gecko-mediaplayer-rm.so*
-rw-r--r-- 1 root root  1339 2008-02-29 01:05 gecko-mediaplayer-rm.xpt
-rwxr-xr-x 1 root root 78716 2008-02-29 01:05 gecko-mediaplayer.so*
-rwxr-xr-x 1 root root 78276 2008-02-29 01:05 gecko-mediaplayer-wmp.so*
-rw-r--r-- 1 root root  1339 2008-02-29 01:05 gecko-mediaplayer-wmp.xpt
-rw-r--r-- 1 root root  1339 2008-02-29 01:05 gecko-mediaplayer.xpt
lrwxrwxrwx 1 root root	39 2009-03-16 12:04 libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so*
lrwxrwxrwx 1 root root	38 2009-03-12 23:38 libjavaplugin_oji.so -> /etc/alternatives/libjavaplugin_oji.so*
lrwxrwxrwx 1 root root	34 2009-03-13 00:01 libjavaplugin.so -> /etc/alternatives/libjavaplugin.so*
-rwxr-xr-x 1 root root 72268 2009-03-13 00:05 npwrapper.gecko-mediaplayer-dvx.so*
-rwxr-xr-x 1 root root 72268 2009-03-13 00:05 npwrapper.gecko-mediaplayer-qt.so*
-rwxr-xr-x 1 root root 72268 2009-03-13 00:05 npwrapper.gecko-mediaplayer-rm.so*
-rwxr-xr-x 1 root root 72268 2009-03-13 00:05 npwrapper.gecko-mediaplayer.so*
-rwxr-xr-x 1 root root 72268 2009-03-13 00:05 npwrapper.gecko-mediaplayer-wmp.so*
-rwxr-xr-x 1 root root 72268 2009-03-13 00:05 npwrapper.libflashplayer.so*
-rwxr-xr-x 1 root root 72268 2009-03-13 00:05 npwrapper.libjavaplugin.so*
lrwxrwxrwx 1 root root	59 2009-03-13 21:54 npwrapper.so -> ../../../../usr/lib/nspluginwrapper/i386/linux/npwrapper.so*

 

 

Sun JRE or OpenJDK? 32 or 64 bit?

32bit

how can I understand if I have Sun JRE or OpenJDK?

this can help you?

# alternatives --config java

There are 2 programs which provide `java'.

 Selection	Command
-----------------------------------------------
*+	1		/usr/lib/jvm/jre-1.7.0-icedtea/bin/java
  2		/usr/lib/jvm/jre-1.6.0-sun/bin/java

Link to comment
Share on other sites

First of all, if you're using a 32-bit system you should remove the nspluginwrapper package. Then you can select what java version you what to use with

alternatives --config java

Then test your java-plugin again.

 

If you are still having problems (I think you are using Mandriva 2008.1), and you have installed the firefox package from the mozilla site to your ~/home directory, you will need to make a symlink to libjavaplugin_oji.so in your Mozilla Plugins directory. Use the copy located in your java-1.6.0-sun-1.6.0.xx/jre/plugin/i386/ns7 directory and symlink it to your new firefox/plugins directory.

Link to comment
Share on other sites

alternatives --config java

I've two choices, what's the best one?

 

If you are still having problems (I think you are using Mandriva 2008.1), and you have installed the firefox package from the mozilla site to your ~/home directory, you will need to make a symlink to libjavaplugin_oji.so in your Mozilla Plugins directory. Use the copy located in your java-1.6.0-sun-1.6.0.xx/jre/plugin/i386/ns7 directory and symlink it to your new firefox/plugins directory.

yes, I've Mandriva 2008.1 but I have installed Firefox 3.0.7 from urpmi.

can you give me the code to do this symbolic link?

 

thanks!

Link to comment
Share on other sites

I would suggest trying both of the java-plugins, and use the one that works best for you.

 

I didn't know that they had firefox 3.0.7 in the official 2008.1 Mandriva repos, if that's where you've installed it from you will not need the symlink. Sorry for the confusion. :)

Link to comment
Share on other sites

I didn't know that they had firefox 3.0.7 in the official 2008.1 Mandriva repos

OK, I've just booted up a 2008.1 system and updated the media. (Please note that I already had firefox 3.0.1 installed from /main/backports.) Then I went to upgrade firefox 2.0.0.19 to firefox 3.0.7 in /main/updates and this is what you get:

To satisfy dependencies, the following package(s) also need to be installed:

- firefox-en_GB-3.0.7-0.1mdv2008.1.i586
- gnome-python-gtkmozembed-2.19.1-10.9mdv2008.1.i586
- libgluezilla0-1.2.6.1-2.9mdv2008.1.i586
- libxulrunner1.9-1.9.0.7-0.1mdv2008.1.i586
- mailcap-2.0.4-20.1mdv2008.1.noarch
- nspluginwrapper-0.9.91.5-2mdv2008.1.i586
- seamonkey-1.1.9-1mdv2008.1.i586
- totem-mozilla-gstreamer-2.22.0-4.9mdv2008.1.i586

This is more software than I want, need, or I'm willing to install on my 2008.1 system for firefox 3.0.7! :blink:

 

I don't have the time tonight to check this, but I will take a look at it later this week.

 

If you are still having problems, maybe someone else here that is using 2008.1 can help you more with this than I can.

Link to comment
Share on other sites

Why do they build Firefox with seamonkey and totem-gstreamer dependencies?

(lib)xulrunner should be enough.

It's crazy...

 

And with the recent upgrate to Firefox 3.0.X from 2.0.X they broke Seamonkey's totem plugin support (and have no intention of fixing it), see here:

 

https://qa.mandriva.com/show_bug.cgi?id=48212

 

http://forum.mandriva.com/viewtopic.php?t=106196

 

I had to switch to the mplayer plugin for Seamonkey.

Link to comment
Share on other sites

My java plugin now works! I've only do this:

su
urpme nspluginwrapper -a

First of all, if you're using a 32-bit system you should remove the nspluginwrapper package.
That was my first suggestion. :)

 

Anyway, for completeness of this topic. You can upgrade to Firefox 3.0.7 on a 2008.1 system with urpmi using the --allow-nodeps and --allow-force options. You only need to install:

- gnome-python-gtkmozembed-2.19.1-10.9mdv2008.1.i586

- libgluezilla0-1.2.6.1-2.9mdv2008.1.i586

- libxulrunner1.9-1.9.0.7-0.1mdv2008.1.i586

for it to work properly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...