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!

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

Enable JAVA plugin on Firefox 25 in Linux

  • 10 תגובות
  • 14 have this problem
  • 1 view
  • תגובה אחרונה מאת 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!!

Read this answer in context 👍 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.