Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

why updating libnpjp2.so still shows old JRE reference in Mozilla 17 ?

  • 2 одговорa
  • 1 има овај проблем
  • 30 прегледа
  • Последњи одговор послао cor-el

more options

1) I am using RHEL 6.3 workstation. 2) Previously installed Firefox 17. 3) Updated java plugin as follows:

=================================

[root@user plugins]# pwd /usr/lib/mozilla/plugins [root@user plugins]# ln -s /installed/jdk/hotspot/jdk1.7.0_10/jre/lib/amd64/libnpjp2.so

=================================

4) Started Firefox, and executed about:plugins. 5) I still see

Java(TM) Plug-in 1.6.0_29

File: libnpjp2.so

I am failing to understand why it is not taking the 1.7.0_10 nd refering to the old reference.

I have followed the following link : http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html AND http://support.mozilla.org/en-US/kb/use-java-plugin-to-view-interactive-content.

Any pointers or help would be of great help.

1) I am using RHEL 6.3 workstation. 2) Previously installed Firefox 17. 3) Updated java plugin as follows: ============================================= [root@user plugins]# pwd /usr/lib/mozilla/plugins [root@user plugins]# ln -s /installed/jdk/hotspot/jdk1.7.0_10/jre/lib/amd64/libnpjp2.so ============================================= 4) Started Firefox, and executed about:plugins. 5) I still see Java(TM) Plug-in 1.6.0_29 File: libnpjp2.so I am failing to understand why it is not taking the 1.7.0_10 nd refering to the old reference. I have followed the following link : http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html AND http://support.mozilla.org/en-US/kb/use-java-plugin-to-view-interactive-content. Any pointers or help would be of great help.

Измењено од стране FoxThought

Изабрано решење

I have resolved the issue in these simple steps.

1)The "/installed/jdk/hotspot/jdk1.7.0_10/jre/lib/amd64/libnpjp2.so" which has the reference link to jre_1.7_10 (Please see the step 3 "Updated java plugin" in Post above) , Have copied this file to $HOME/.mozilla/plugins/ folder as follows:

[user@user plugins]$ cp /usr/lib/mozilla/plugins/libnpjp2.so .

2) started the Firefox.

3) Now, when I check the version of java in about:plugins it shows : "Java(TM) Plug-in 1.7.0_10"

4) Also tested in "http://www.java.com/en/download/testjava.jsp" its working and shows:


javase 7 update 10. :)

Прочитајте овај одговор са објашњењем 👍 0

Сви одговори (2)

more options

Одабрано решење

I have resolved the issue in these simple steps.

1)The "/installed/jdk/hotspot/jdk1.7.0_10/jre/lib/amd64/libnpjp2.so" which has the reference link to jre_1.7_10 (Please see the step 3 "Updated java plugin" in Post above) , Have copied this file to $HOME/.mozilla/plugins/ folder as follows:

[user@user plugins]$ cp /usr/lib/mozilla/plugins/libnpjp2.so .

2) started the Firefox.

3) Now, when I check the version of java in about:plugins it shows : "Java(TM) Plug-in 1.7.0_10"

4) Also tested in "http://www.java.com/en/download/testjava.jsp" its working and shows:


javase 7 update 10. :)

more options

On Linux it is easier and usually better to create a symlink to the Java plugin and copy that link to a location that Firefox scans for plugins (compare that to other installed plugins).