Fedora Linux Support Community & Resources Center
  #16  
Old 25th July 2012, 07:55 AM
cygx1 Offline
Registered User
 
Join Date: Mar 2011
Posts: 2
linuxfirefox
Unhappy Re: Howto - Java JRE plugin on Firefox for Fedora 14

Hi there,

Recently, I was trying to install java plugin on firefox 14.0.1 under Fedora 14 (64bit)
and I failed. Please help me resolve the problem. I did the following,

To install the plugin
Code:
# yum install java-1.6.0-openjdk-plugin
Done.

made a link in a mozilla plugin dir. (/usr/lib/mozilla/plugins)
When I installed it made a link 'IcedTeaPlugin.so' but still I made a new link there
as mentioned in earlier discussions
Code:
# ln -s /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaPlugin.so libnpjp2.so
Done.

But still java does not work on my machine.
I tried to make one more link in my local profile dir. also but in vain

Please help me resolve the issue.
Thanks.
Reply With Quote
  #17  
Old 27th July 2012, 05:16 PM
nixnooi Offline
Registered User
 
Join Date: May 2007
Posts: 16
linuxfirefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

I had the exact problem and it took me a day to figure out. Here are my steps.

find and remove your mozilla/firefox pluginreg.dat file. (Mine was under $HOME/.mozilla/firefox/i8g05r0z.default) Then run firefox from the command line so you can see the errors as it rebuilds the plugin registry.

Mine was
LoadPlugin: failed to initialize shared library /usr/java/jre1.7.0_05/lib/amd64/libnpjp2.so [/usr/java/jre1.7.0_05/lib/amd64/libnpjp2.so: wrong ELF class: ELFCLASS64]

now I do a file /usr/java/jre1.7.0_05/lib/amd64/libnpjp2.so
to see what ELF it is.
doing the same thing on my firefox executable - turns out my firefox - after upgrade - become 32 bit and my plugins where 64 bit

then lots of changes to get them on the same flavor.
Reply With Quote
  #18  
Old 28th July 2012, 12:16 AM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,094
windows_7firefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

@cygx1: That works (using java-1.6.0-openjdk-plugin ) but then you end up with the obsolete Java 6. The best practice would be to install the two packages:
Quote:
java-1.7.0-openjdk icedtea-web
of which the icedtea-web gives you the browser plugin and the first one gives you the JDK 7 for java.

REF: (see from the Fedora Set-Up Guides from the top of the forum menu bar)
http://www.mjmwired.net/resources/mj...-f17.html#java
Reply With Quote
Reply

Tags
64 bit, firefox, jre, plugin

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Firefox with Sun Java Plugin crash in Fedora 13 anantg Using Fedora 7 10th June 2010 12:31 AM
32-bit Java Plugin on 64-bit Firefox 3 Fedora 9 BandC Using Fedora 1 22nd November 2008 02:16 AM
Fedora Core 6 (fc6) firefox with java 1.4.2 plugin theoracle Using Fedora 5 16th January 2007 04:27 PM
fc5 - gstreamer - firefox plugin - howto phil-fedora-5 EOL (End Of Life) Versions 7 2nd April 2006 06:13 PM
How to Install Java plugin and Macromedia plugin on Firefox 1.5? spongehead Using Fedora 5 12th March 2006 08:20 AM


Current GMT-time: 02:09 (Sunday, 23-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Dublin - Surallah - Porbandar Photos