Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Cant get Java Runtime (jre1.6.0.24) plugin to install for Firefox 3.6.15

  • 3 个回答
  • 90 人有此问题
  • 1 次查看
  • 最后回复者为 Kevin

more options

I have installed jdk and jre 1.6.0.24 on my Fedora 14 system (Firefox is 3.6.15). I've gone through all the instructions for installing the jre, I've even tried creating symbolic links in the various "plugin" directories for libnpjp2.so. Nothing seems to 'install' the Java Runtime as a Firefox Plugin. Suggestions? (java/javac/javaws are all working...)

I have installed jdk and jre 1.6.0.24 on my Fedora 14 system (Firefox is 3.6.15). I've gone through all the instructions for installing the jre, I've even tried creating symbolic links in the various "plugin" directories for libnpjp2.so. Nothing seems to 'install' the Java Runtime as a Firefox Plugin. Suggestions? (java/javac/javaws are all working...)

所有回复 (3)

more options

Where are the other plugins installed that show in your More system details list ?


See also:

You can see the installed plugins on the about:plugins page.
If you set the pref plugin.expose_full_path to true on the about:config page then you see the full path of plugins on the about:plugins page.
It is best not to leave that pref set to true as it exposes that full path to web servers, so reset that pref to false after you are done with the about:plugins page.

more options

about:plugins paths:

/usr/lib/mozilla/plugins

/usr/lib/nspluginwrapper

/usr/lib/mozilla/plugins-wrapped

locations of libnpjp2.so:

[root@localhost epsteins]# find / -name libnpjp2.so

/usr/lib/mozilla/plugins-wrapped/libnpjp2.so

/usr/lib/mozilla/plugins/libnpjp2.so

/usr/java/jre1.6.0_24/lib/i386/libnpjp2.so

/usr/java/jdk1.6.0_24/jre/lib/i386/libnpjp2.so

find: `/home/epsteins/.gvfs': Permission denied

/home/epsteins/.mozilla/plugins/libnpjp2.so

details of various libnpjp2.so:

[root@localhost epsteins]# ls -l /usr/lib/mozilla/plugins-wrapped/libnpjp2.so

lrwxrwxrwx. 1 root epsteins 36 Mar 21 01:07 /usr/lib/mozilla/plugins-wrapped/libnpjp2.so -> /usr/lib/mozilla/plugins/libnpjp2.so

[root@localhost epsteins]# ls -l /usr/lib/mozilla/plugins-wrapped/libnpjp2.so

lrwxrwxrwx. 1 root epsteins 36 Mar 21 01:07 /usr/lib/mozilla/plugins-wrapped/libnpjp2.so -> /usr/lib/mozilla/plugins/libnpjp2.so

[root@localhost epsteins]# ls -l /usr/lib/mozilla/plugins/libnpjp2.so

lrwxrwxrwx. 1 root root 42 Mar 17 13:43 /usr/lib/mozilla/plugins/libnpjp2.so -> /usr/java/jre1.6.0_24/lib/i386/libnpjp2.so

[root@localhost epsteins]# ls -l /usr/java/jre1.6.0_24/lib/i386/libnpjp2.so

-rwxr-xr-x. 1 root root 77510 Feb 2 19:34 /usr/java/jre1.6.0_24/lib/i386/libnpjp2.so

[root@localhost epsteins]# ls -l /usr/java/jdk1.6.0_24/jre/lib/i386/libnpjp2.so

-rwxr-xr-x. 1 root root 77510 Feb 2 19:34 /usr/java/jdk1.6.0_24/jre/lib/i386/libnpjp2.so

[root@localhost epsteins]# ls -l /home/epsteins/.mozilla/plugins/libnpjp2.so

lrwxrwxrwx. 1 root root 36 Mar 20 13:37 /home/epsteins/.mozilla/plugins/libnpjp2.so -> /usr/lib/mozilla/plugins/libnpjp2.so

locations of libnullplugin.so:

[root@localhost epsteins]# find / -name libnullplugin.so

/usr/lib/sunbird-1.0b3pre/plugins/libnullplugin.so

/usr/lib/seamonkey-2.0.12/plugins/libnullplugin.so

/usr/lib/kompozer/plugins/libnullplugin.so

/usr/lib/xulrunner-1.9.2/plugins/libnullplugin.so

find: `/home/epsteins/.gvfs': Permission denied

由epsteins于修改

more options

What does the command "java -version" return? If it returns something like "OpenJDK Runtime Environment (IcedTea6 1.9.7)" this means that the Iced Tea is the default Java and that you will need to set Sun Java as the OS default Java. Fedora should have some details about that, it may require uninstalling Iced Tea Java.

由Kevin于修改