Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

cannot install java plug-in 1.6.0_25 in firefox 7 under fedora 7

  • 8 respostas
  • 8 têm este problema
  • 1 visualização
  • Última resposta por tong123123

more options

I have firefox 6 under fedora 7, I try to upgrade to firefox 7 but it is it is already up to date, so I manually download firefox 7 in \home\admin\firefox7, but I found there is no java plug-in 1.6.0.25 and I google many site and it mention plugin folder inside firefox folder but I cannot see this folder, so how to install java plug-in 1.6.0_25 in firefox 7 under fedora 7?

some more information, [admin@localhost 下載]$ locate libjavaplugin_oji.so /home/admin/firefox3.5/firefox/plugins/libjavaplugin_oji.so /home/admin/firefox4.0/plugins/libjavaplugin_oji.so /usr/java/jre1.5.0_15/plugin/i386/ns7/libjavaplugin_oji.so /usr/java/jre1.5.0_15/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/java/jre1.6.0_25/plugin/i386/ns7/libjavaplugin_oji.so /usr/java/jre1.6.0_25/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/lib/firefox-2.0.0.3/plugins/libjavaplugin_oji.so


[admin@localhost plugins]$ su - Password: [root@localhost ~]# ln -s /usr/java/jre1.6.0_25/plugins/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin.so


I follow many web site recommend method like above, still fail to installed java plug-in 1.6.0_25

I have firefox 6 under fedora 7, I try to upgrade to firefox 7 but it is it is already up to date, so I manually download firefox 7 in \home\admin\firefox7, but I found there is no java plug-in 1.6.0.25 and I google many site and it mention plugin folder inside firefox folder but I cannot see this folder, so how to install java plug-in 1.6.0_25 in firefox 7 under fedora 7? some more information, [admin@localhost 下載]$ locate libjavaplugin_oji.so /home/admin/firefox3.5/firefox/plugins/libjavaplugin_oji.so /home/admin/firefox4.0/plugins/libjavaplugin_oji.so /usr/java/jre1.5.0_15/plugin/i386/ns7/libjavaplugin_oji.so /usr/java/jre1.5.0_15/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/java/jre1.6.0_25/plugin/i386/ns7/libjavaplugin_oji.so /usr/java/jre1.6.0_25/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/lib/firefox-2.0.0.3/plugins/libjavaplugin_oji.so [admin@localhost plugins]$ su - Password: [root@localhost ~]# ln -s /usr/java/jre1.6.0_25/plugins/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin.so I follow many web site recommend method like above, still fail to installed java plug-in 1.6.0_25

Modificado por tong123123 a

Todas as respostas (8)

more options

I get my firefox by download firefox-7.0.1.tar.bz2 and then unzip it

I try to follow this link http://digitizor.com/2009/01/05/how-to-make-the-java-plugin-work-on-firefox-in-fedora-10-linux-distro/ but fail

Modificado por tong123123 a

more options

You need the Java 2 plugin (libnpjp2.so).
libjavaplugin.so is the classic Java plugin and doesn't work in current Firefox versions.

more options

where is the "Firefox application's directory, in the plugins subdirectory"?

[admin@localhost ~]$ cd firefox7 [admin@localhost firefox7]$ ls -l total 29164 -rw-r--r-- 1 admin admin 2153 2011-09-28 19:04 application.ini -rw-r--r-- 1 admin admin 7496 2011-09-28 19:04 blocklist.xml drwxr-xr-x 3 admin admin 4096 2011-09-28 18:59 chrome -rw-r--r-- 1 admin admin 36 2011-09-28 18:59 chrome.manifest drwxr-xr-x 2 admin admin 4096 2011-09-28 18:59 components -rwxr-xr-x 1 admin admin 134132 2011-09-28 19:05 crashreporter -rw-r--r-- 1 admin admin 3665 2011-09-28 18:59 crashreporter.ini -rw-r--r-- 1 admin admin 622 2011-09-28 18:59 crashreporter-override.ini drwxr-xr-x 3 admin admin 4096 2011-09-28 18:59 defaults -rw-r--r-- 1 admin admin 142 2011-09-28 19:04 dependentlibs.list drwxr-xr-x 2 admin admin 4096 2011-09-28 18:59 dictionaries drwxr-xr-x 3 admin admin 4096 2011-09-28 19:04 extensions -rwxr-xr-x 1 admin admin 50064 2011-09-28 19:05 firefox7 -rwxr-xr-x 1 admin admin 50068 2011-09-28 19:05 firefox-bin drwxr-xr-x 2 admin admin 4096 2011-09-28 18:59 hyphenation drwxr-xr-x 2 admin admin 4096 2011-09-28 19:04 icons -rw-r--r-- 1 admin admin 478 2011-09-28 19:05 libfreebl3.chk -rwxr-xr-x 1 admin admin 311768 2011-09-28 19:05 libfreebl3.so -rwxr-xr-x 1 admin admin 5864 2011-09-28 19:05 libmozalloc.so -rwxr-xr-x 1 admin admin 589768 2011-09-28 19:05 libmozsqlite3.so -rwxr-xr-x 1 admin admin 190896 2011-09-28 19:05 libnspr4.so -rwxr-xr-x 1 admin admin 873300 2011-09-28 19:05 libnss3.so -rwxr-xr-x 1 admin admin 383568 2011-09-28 19:05 libnssckbi.so -rw-r--r-- 1 admin admin 478 2011-09-28 19:05 libnssdbm3.chk -rwxr-xr-x 1 admin admin 122232 2011-09-28 19:05 libnssdbm3.so -rwxr-xr-x 1 admin admin 81236 2011-09-28 19:05 libnssutil3.so -rwxr-xr-x 1 admin admin 13808 2011-09-28 19:05 libplc4.so -rwxr-xr-x 1 admin admin 10668 2011-09-28 19:05 libplds4.so -rwxr-xr-x 1 admin admin 128364 2011-09-28 19:05 libsmime3.so -rw-r--r-- 1 admin admin 478 2011-09-28 19:05 libsoftokn3.chk -rwxr-xr-x 1 admin admin 189256 2011-09-28 19:05 libsoftokn3.so -rwxr-xr-x 1 admin admin 167692 2011-09-28 19:05 libssl3.so -rwxr-xr-x 1 admin admin 12204 2011-09-28 19:05 libxpcom.so -rwxr-xr-x 1 admin admin 21458148 2011-09-28 19:05 libxul.so -rwxr-xr-x 1 admin admin 13692 2011-09-28 19:05 mozilla-xremote-client -rw-r--r-- 1 admin admin 4632263 2011-09-28 18:59 omni.jar -rw-r--r-- 1 admin admin 136 2011-09-28 19:04 platform.ini -rwxr-xr-x 1 admin admin 40668 2011-09-28 19:05 plugin-container -rw-r--r-- 1 admin admin 1921 2011-09-28 18:59 precomplete -rw-r--r-- 1 admin admin 177 2011-09-28 18:59 README.txt -rw-r--r-- 1 admin admin 34145 2011-09-28 19:04 removed-files -rwxr-xr-x 1 admin admin 10380 2011-09-28 19:04 run-mozilla.sh drwxr-xr-x 2 admin admin 4096 2011-09-28 18:59 searchplugins -rw-r--r-- 1 admin admin 825 2011-09-28 19:04 Throbber-small.gif -rw-r--r-- 1 admin admin 6 2011-09-28 18:59 update.locale -rwxr-xr-x 1 admin admin 118192 2011-09-28 19:05 updater -rw-r--r-- 1 admin admin 124 2011-09-28 18:59 updater.ini drwxr-xr-x 3 admin admin 4096 2011-10-26 22:21 updates

Modificado por tong123123 a

more options

finally I solve the problem by cd /usr/lib/mozilla/plugins ln -s /usr/java/jre1.6.0_25/lib/i386/libnpjp2.so

I emphasis again, I really cannot find the mention 2 directory: 1) Firefox application's directory, in the plugins subdirectory. 2) in your home directory, in ~/.mozilla/plugins

the most near is extensions directory, not plugins directory, but I try to link libnpjp2.so to extensions directory and the java plugin still cannot be installed in firefox.

more options

You can create a plugins folder in the Firefox Profile Folder and place a symlink to the libnpjp2.so file in that folder.

  • Help > Troubleshooting Information > Profile Directory: Open Containing Folder
more options

I install firefox 5 and java 1.6.29, fedora 14, I try create the link as follow [Administrator@localhost ~]$ cd ~/.mozilla/plugins [Administrator@localhost plugins]$ ls -l total 0 lrwxrwxrwx. 1 Administrator Administrator 43 Nov 16 04:32 libnpjp2.so -> /usr/java/jre1.6.0_29/lib/amd64/libnpjp2.so [Administrator@localhost plugins]$


but after restart firfox, still cannot find the java plugins, what is the problem?

more options

I add the symbolic link in the following folder [Administrator@localhost /]$ su Password: [root@localhost /]# find / -name 'libnpjp2.so' /home/Administrator/java/jre1.6.0_29/lib/amd64/libnpjp2.so find: `/home/Administrator/.gvfs': Permission denied /home/Administrator/.mozilla/plugins/libnpjp2.so /home/Administrator/.mozilla/firefox/hw67q5aj.default/libnpjp2.so /home/Administrator/.mozilla/firefox/hw67q5aj.default/plugins/libnpjp2.so /usr/java/jre1.6.0_29/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so [root@localhost /]# but still cannot load java plugin in firefox!!

more options

the screen shot show the link "libnpjp2.so" point to /usr/java/jre1.6.0_29/lib/amd64/libnpjp2.so

Modificado por tong123123 a