Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Using 2 Java Plugins in Firefox

  • 14 replies
  • 7 have this problem
  • 1 view
  • Paskiausią atsakymą parašė chrise99

more options

Hi This goes back to an archived thread that Wesley was gracious enough to answer but that I churlishly did not respond to at the time - my only excuse is that I was working on a production system migration and found a different workaround - the question is here:-

https://support.mozilla.org/en-US/search?a=1&asked_by=chrise99&sortby=1&w=2

I did not get this to work. I need to use the latest Java 1.7.0_55 for Juniper VPN (archaic on Linux and I am using 32-bit Centos for this work) to pass the browser security and log me in. So I have the plugin installed in 2 places - seems to be necessary

/home/oracle/.mozilla/plugins


lrwxrwxrwx 1 root root 46 Jan 15 12:39 libnpjp2.so -> /usr/java/jdk1.7.0_51/jre/lib/i386/libnpjp2.so

/home/oracle/.mozilla/firefox/plugins


lrwxrwxrwx 1 root root 46 Jan 15 12:39 libnpjp2.so -> /usr/java/jdk1.7.0_51/jre/lib/i386/libnpjp2.so

Now when I then want to connect to an Oracle Middleware product that REQUIRES 1.7.0_25 I of course get a message plugin is missing. Wesley explained the procedure but how do I add the link for libnpjp2.so to point to /usr/java/jdk1.7.0_25/jre/lib/i386/libnpjp2.so without clobbering the link to 1.7.0_55?

Sorry for waiting 6 months but I still have the issue and I can't avoid it any more. FF is the only option.

Hi This goes back to an archived thread that Wesley was gracious enough to answer but that I churlishly did not respond to at the time - my only excuse is that I was working on a production system migration and found a different workaround - the question is here:- https://support.mozilla.org/en-US/search?a=1&asked_by=chrise99&sortby=1&w=2 I did not get this to work. I need to use the latest Java 1.7.0_55 for Juniper VPN (archaic on Linux and I am using 32-bit Centos for this work) to pass the browser security and log me in. So I have the plugin installed in 2 places - seems to be necessary /home/oracle/.mozilla/plugins ------------------------------- lrwxrwxrwx 1 root root 46 Jan 15 12:39 libnpjp2.so -> /usr/java/jdk1.7.0_51/jre/lib/i386/libnpjp2.so /home/oracle/.mozilla/firefox/plugins ------------------------------------- lrwxrwxrwx 1 root root 46 Jan 15 12:39 libnpjp2.so -> /usr/java/jdk1.7.0_51/jre/lib/i386/libnpjp2.so Now when I then want to connect to an Oracle Middleware product that REQUIRES 1.7.0_25 I of course get a message plugin is missing. Wesley explained the procedure but how do I add the link for libnpjp2.so to point to /usr/java/jdk1.7.0_25/jre/lib/i386/libnpjp2.so without clobbering the link to 1.7.0_55? Sorry for waiting 6 months but I still have the issue and I can't avoid it any more. FF is the only option.

Chosen solution

Got this to work after upgrading to 32-bit centos 6.5 (I was trying to avoid that for reasons explained earlier). The solution was to install 1.7.0_67 and 1.7.0_25 JDKs using alternatives command, linking the 1.7.0_67 libnp plugin to ~user/.mozilla/plugins and the 1.7.0_25 plugin in /usr/lib/mozilla/plugins, then using 1.7.0_67 Controlpanel added in the 1.7.0_25 JRE and enabled it.

Skaityti atsakymą kartu su kontekstu 👍 2

All Replies (14)

more options

I think this cannot work (using new and older java plugin) with FF because there is just one link possible to the libnpjp2.so file.

Our users are using MSIE which does support 2 java plugins

more options

If you use a symlink to link to the libnpjp2.so files then you might be able to include the Java version in the file name and have two links (libnpjp2-7u25.so and libnpjp2-7u55.so). Note that you can also create a plugins folder in the current Firefox profile folder or in the ~/.mozilla folder (~/.mozilla/plugins)

Modified by cor-el

more options

Thanks cor-el. I'm trying out some different combinations based on your answer now. I'll post what i find but wanted to post now the about:plugins that looks like both plugins are enabled using the setup below. But it does not work when an applet requires 1.7.0_25 ..


CENTOSBOX:/home/oracle>which firefox /usr/bin/firefox

CENTOSBOX:/home/oracle>ls -l /usr/lib/mozilla/plugins

lrwxrwxrwx 1 root root 39 Jan 31 08:36 libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so lrwxrwxrwx 1 root root 46 May 23 20:39 libnpjp2.so -> /usr/java/jdk1.7.0_25/jre/lib/i386/libnpjp2.so

CENTOSBOX:/home/oracle>ls -l /home/oracle/.mozilla/plugins

lrwxrwxrwx 1 oracle oinstall 46 May 23 20:40 libnpjp2.so -> /usr/java/jdk1.7.0_55/jre/lib/i386/libnpjp2.so


Installed plugins Find updates for installed plugins at mozilla.com/plugincheck Java(TM) Plug-in 10.55.2

   File: libnpjp2.so
   Path: /usr/java/jdk1.7.0_55/jre/lib/i386/libnpjp2.so
   Version: 10.55.2
   State: Enabled
   Next Generation Java Plug-in 10.55.2 for Mozilla browsers

MIME Type Description Suffixes application/x-java-vm Java&#153 Plug-in application/x-java-applet Java&#153 Plug-in Applet application/x-java-bean Java&#153 Plug-in JavaBeans application/x-java-applet;version=1.1 Java&#153 Plug-in application/x-java-bean;version=1.1 Java&#153 Plug-in application/x-java-applet;version=1.1.1 Java&#153 Plug-in application/x-java-bean;version=1.1.1 Java&#153 Plug-in application/x-java-applet;version=1.1.2 Java&#153 Plug-in application/x-java-bean;version=1.1.2 Java&#153 Plug-in application/x-java-applet;version=1.1.3 Java&#153 Plug-in application/x-java-bean;version=1.1.3 Java&#153 Plug-in application/x-java-applet;version=1.2 Java&#153 Plug-in application/x-java-bean;version=1.2 Java&#153 Plug-in application/x-java-applet;version=1.2.1 Java&#153 Plug-in application/x-java-bean;version=1.2.1 Java&#153 Plug-in application/x-java-applet;version=1.2.2 Java&#153 Plug-in application/x-java-bean;version=1.2.2 Java&#153 Plug-in application/x-java-applet;version=1.3 Java&#153 Plug-in application/x-java-bean;version=1.3 Java&#153 Plug-in application/x-java-applet;version=1.3.1 Java&#153 Plug-in application/x-java-bean;version=1.3.1 Java&#153 Plug-in application/x-java-applet;version=1.4 Java&#153 Plug-in application/x-java-bean;version=1.4 Java&#153 Plug-in application/x-java-applet;version=1.4.1 Java&#153 Plug-in application/x-java-bean;version=1.4.1 Java&#153 Plug-in application/x-java-applet;version=1.4.2 Java&#153 Plug-in application/x-java-bean;version=1.4.2 Java&#153 Plug-in application/x-java-applet;version=1.5 Java&#153 Plug-in application/x-java-bean;version=1.5 Java&#153 Plug-in application/x-java-applet;version=1.6 Java&#153 Plug-in application/x-java-bean;version=1.6 Java&#153 Plug-in application/x-java-applet;version=1.7 Java&#153 Plug-in application/x-java-bean;version=1.7 Java&#153 Plug-in application/x-java-applet;jpi-version=1.7.0_55 Java&#153 Plug-in application/x-java-bean;jpi-version=1.7.0_55 Java&#153 Plug-in application/x-java-applet;deploy=10.55.2 Java&#153 Plug-in application/x-java-applet;javafx=2.2.55 Java&#153 Plug-in application/x-java-vm-npruntime Java&#153 Plug-in Java(TM) Plug-in 10.51.2

   File: libnpjp2.so
   Path: /usr/java/jdk1.7.0_25/jre/lib/i386/libnpjp2.so
   Version: 10.51.2
   State: Enabled
   Next Generation Java Plug-in 10.51.2 for Mozilla browsers

MIME Type Description Suffixes application/x-java-vm Java&#153 Plug-in application/x-java-applet Java&#153 Plug-in Applet application/x-java-bean Java&#153 Plug-in JavaBeans application/x-java-applet;version=1.1 Java&#153 Plug-in application/x-java-bean;version=1.1 Java&#153 Plug-in application/x-java-applet;version=1.1.1 Java&#153 Plug-in application/x-java-bean;version=1.1.1 Java&#153 Plug-in application/x-java-applet;version=1.1.2 Java&#153 Plug-in application/x-java-bean;version=1.1.2 Java&#153 Plug-in application/x-java-applet;version=1.1.3 Java&#153 Plug-in application/x-java-bean;version=1.1.3 Java&#153 Plug-in application/x-java-applet;version=1.2 Java&#153 Plug-in application/x-java-bean;version=1.2 Java&#153 Plug-in application/x-java-applet;version=1.2.1 Java&#153 Plug-in application/x-java-bean;version=1.2.1 Java&#153 Plug-in application/x-java-applet;version=1.2.2 Java&#153 Plug-in application/x-java-bean;version=1.2.2 Java&#153 Plug-in application/x-java-applet;version=1.3 Java&#153 Plug-in application/x-java-bean;version=1.3 Java&#153 Plug-in application/x-java-applet;version=1.3.1 Java&#153 Plug-in application/x-java-bean;version=1.3.1 Java&#153 Plug-in application/x-java-applet;version=1.4 Java&#153 Plug-in application/x-java-bean;version=1.4 Java&#153 Plug-in application/x-java-applet;version=1.4.1 Java&#153 Plug-in application/x-java-bean;version=1.4.1 Java&#153 Plug-in application/x-java-applet;version=1.4.2 Java&#153 Plug-in application/x-java-bean;version=1.4.2 Java&#153 Plug-in application/x-java-applet;version=1.5 Java&#153 Plug-in application/x-java-bean;version=1.5 Java&#153 Plug-in application/x-java-applet;version=1.6 Java&#153 Plug-in application/x-java-bean;version=1.6 Java&#153 Plug-in application/x-java-applet;version=1.7 Java&#153 Plug-in application/x-java-bean;version=1.7 Java&#153 Plug-in application/x-java-applet;jpi-version=1.7.0_51 Java&#153 Plug-in application/x-java-bean;jpi-version=1.7.0_51 Java&#153 Plug-in application/x-java-applet;deploy=10.51.2 Java&#153 Plug-in application/x-java-applet;javafx=2.2.25 Java&#153 Plug-in application/x-java-vm-npruntime Java&#153 Plug-in Shockwave Flash

   File: libflashplayer.so
   Path: /usr/lib/flash-plugin/libflashplayer.so
   Version: 11,2,202,335
   State: Enabled
   Shockwave Flash 11.2 r202

MIME Type Description Suffixes application/x-shockwave-flash Shockwave Flash swf application/futuresplash FutureSplash Player spl

more options

btw I am kinda puzzled by this version showing at the bottom of the 1.7.0_25 plugin info

application/x-java-applet;jpi-version=1.7.0_51 Java™ Plug-in application/x-java-bean;jpi-version=1.7.0_51 Java™ Plug-in application/x-java-applet;deploy=10.51.2 Java™ Plug-in

more options

It turned out using 2 renamed links in a mozilla plugin directory to point to the 2 different java plugins didn't work and neither did putting in a link to one plugin version (1.7.0_55) in ~user/.mozilla/plugins and a link to the older (_25) plugin in /usr/lib/mozilla/plugins.

I got closer using 2 profiles, but the profile with the link to the old plugin keeps deactivating itself even if use jcontrol to reactivate, and the ability to 'allow and remember' doesn't work either

more options

Actually after more experimenting I can keep both 1.7.0_55 and 1.7.0_25 showing in about:plugins with the same profile using /usr/lib/mozilla/plugins for one link and ~user/.mozilla/plugins for the other. They're both enabled too.

When I run an applet requiring 1.7.0_25 I get the Red Cross shown in Wesley's screen shot in his reply to my earlier, now archived post, but when I click on allow and remember, I just see a grey box where the applet's form should appear. This applet runs ok in MSIE with both plugins installed. Not in FF.

I guess plugins are legacy stuff so I am getting reconciled to Oracle Forms using older plugins to not work on Linux with FF

more options

Anyone got any ideas?!

more options

There has been a change in the Java security settings, see:

If you visit a website regularly then a possible workaround is to add the URL to the Java Exceptions Site List, see:

more options

Thanks It'll take me a few days to try this out

more options

Hi Exception site list won't work as applet needs 1.7.0_25 which is active in browser. Seeing frame of applet in browser but no applet being executed. Not blocking java. None of these seem to help - I am not seeing security prompt - thanks for trying

more options

Did you anyway try to add an exception for that URL (domain)?

more options

Hi, no because I couldn't find that option with 1.7.0_25 and the release notes said that was added with 51

more options

"The Exception Site List feature is being introduced in the release of Java 7 Update 51. By adding application URL to the Exception list allows users to run Rich Internet Applications (RIAs) that would normally be blocked by security checks"

It's not a problem for the users - as MSIE supports use of both plugins (latest and greatest AND 1.7.0_22). They will always use MSIE and all accesses are within SSL context.

It's "just" a problem for me as I develop for them using Centos 5/FF. The Centos 5 stops me from using Chrome (heresy?) for the 1.7.0_22 as the dependencies are out of date but that may be the way I have to go - upgrade to Centos 6 which needs clean install as a start..

Frustrating as it seems so close

more options

Chosen Solution

Got this to work after upgrading to 32-bit centos 6.5 (I was trying to avoid that for reasons explained earlier). The solution was to install 1.7.0_67 and 1.7.0_25 JDKs using alternatives command, linking the 1.7.0_67 libnp plugin to ~user/.mozilla/plugins and the 1.7.0_25 plugin in /usr/lib/mozilla/plugins, then using 1.7.0_67 Controlpanel added in the 1.7.0_25 JRE and enabled it.