搜索 | 用户支持

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

详细了解

Enable JAVA plugin on Firefox 25 in Linux

  • 10 个回答
  • 14 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

Java is installed and running:

java -version

java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

created symbolic link - pwd /home/kramer9/Images/firefox/plugins [kramer9@oc6138011027 plugins]$ ls -al lrwxrwxrwx. 1 kramer9 kramer9 49 Dec 13 12:34 libnpjp2.so -> /opt/java/64/jre1.7.0_45/bin/lib/i386/libnpjp2.so

Still no luck - ideas?

Java is installed and running: java -version java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode) created symbolic link - pwd /home/kramer9/Images/firefox/plugins [kramer9@oc6138011027 plugins]$ ls -al lrwxrwxrwx. 1 kramer9 kramer9 49 Dec 13 12:34 libnpjp2.so -> /opt/java/64/jre1.7.0_45/bin/lib/i386/libnpjp2.so Still no luck - ideas?

被采纳的解决方案

Ok all is well had todo this step:

about:config

   In the address bar, type "about:config" (with no quotes), and press Enter.
   Click "I'll be careful, I promise"
   In the search bar, search for "javascript.enabled" (with no quotes).
   Right click the result named "javascript.enabled" and click "Toggle". JavaScript is now disabled. 

To Re-enable JavaScript, repeat these steps.

Thanks to all for the help!!

定位到答案原位置 👍 2

所有回复 (10)

more options

Hello, Can you please confirm if the issue is that the Java plugin is not showing up in the Addons on Firefox? Or is it that the Java installed is not functioning properly.

If the latter please check this article to see if it can help How to allow Java on trusted sites. If not, please confirm you are following the steps mentioned in the official Sun site Installing Sun JRE for Firefox.

Also, please confirm that you are running a 64-bit Firefox. I see this on my Linux Mint machine, when I try 'file /usr/lib/firefox/firefox'

firefox: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0xd3dd6eefdfcb323673b3e1fb0c4cc30093e67a78, stripped

more options
more options

Java is functioning correctly.

I think its the browser version: [kramer9@oc6138011027 ~]$ file /home/kramer9/Images/firefox/firefox /home/kramer9/Images/firefox/firefox: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped [kramer9@oc6138011027 ~]$

Let me try to unstall firefox and reinstall the 64 bit version after I find it. I will post an update

more options

Ok still didnt work.

Created symbolic link in the 'new x64 installation directory' libnpjp2.so -> /opt/java/64/jre1.7.0_45/lib/i386/libnpjp2.so

$pwd /home/kramer9/Images/FF25x64/firefox

$file firefox firefox: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped

$ java -version java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode) [kramer9@oc6138011027 lib]$

I go to the plugin tab in firefox and no plugins, and I did verify I am running out of the x64 directory

more options

Where did you place the symlink?

Does Firefox find other plugins located in the same directory?

more options

[kramer9@oc6138011027 plugins]$ pwd /home/kramer9/Images/FF25x64/firefox/plugins

lrwxrwxrwx. 1 root root 45 Dec 16 12:03 libnpjp2.so -> /opt/java/64/jre1.7.0_45/lib/i386/libnpjp2.so

I created a plugins directory in the installation directory I installed FF in.

FF is running from /home/kramer9/Images/FF25x64/firefox

more options

Does it work if you create a ~/.mozilla/plugins folder and place the symlink is this folder?

You can also check the about:plugins page or the pluginreg.dat file for paths used by other plugins.

more options

I backed out both 64 bit java and FF. Installed 32 bit on both, created lync in /usr/lib/mozilla/plugins

And I now have the plugin in the browser, I changed the 'when add on runs' to always activate.

I think I am that much closer

Now getting this error:

JavaScript Required

This Web site uses JavaScript in order to provide you with access to your published resources.

You must enable JavaScript in your browser. Contact your system administrator for assistance.

more options

选择的解决方案

Ok all is well had todo this step:

about:config

   In the address bar, type "about:config" (with no quotes), and press Enter.
   Click "I'll be careful, I promise"
   In the search bar, search for "javascript.enabled" (with no quotes).
   Right click the result named "javascript.enabled" and click "Toggle". JavaScript is now disabled. 

To Re-enable JavaScript, repeat these steps.

Thanks to all for the help!!

more options

It is best to leave JavaScript in the default enabled state because a lot of website won't function properly with JavaScript disabled.

Use extensions like NoScript or YesScript if you want to block JavaScript.