Fedora Linux Support Community & Resources Center
  #1  
Old 13th February 2011, 12:33 AM
thyristor Offline
Registered User
 
Join Date: Jan 2011
Location: Portugal
Posts: 4
linuxfirefox
Howto - Java JRE plugin on Firefox for Fedora 14

Hi, I searched during a couple of minutes on google how to run a java application on a 64 bit Firefox install on Fedora, but I didn't find any simple and direct way to do it.
So I'll post this here, hoping that people who search for this problem can easily find this really quick solution.

1-> on the terminal do the usual su -
2-> yum install jre
3.> make a link in /home/your_name/.mozilla/plugins/ folder to the file located at /usr/java/jre1.6.0_23/lib/amd64/libnpjp2.so
(just select the file, press ctrl+shift and drag it to the plugins folder)
4-> go to http://java.com/en/download/installed.jsp from firefox and test your install

Piece of cake, but it doesn't show up in search engines that easily when I look for: jre firefox 64 plugin fedora
Granted that many tutorials mention the linking method, but most either tell you to install the binary/rpm from the java site or even installing the 32bit version for older fedoras... yum makes it so much easier.
Reply With Quote
  #2  
Old 30th May 2011, 09:12 AM
fundamentalmima Offline
Registered User
 
Join Date: May 2011
Posts: 10
linuxfedorafirefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

I'm using 32 bit Fedora 14, and I cannot get this to work. As soon as I tried to move the "libnpjp2.so", SELinux came up and said there were multiple errors, and that it shouldn't EVER encounter this error.
Reply With Quote
  #3  
Old 30th May 2011, 11:33 AM
Dangermouse Offline
Administrator - (On Leave)
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 49
Posts: 3,864
linuxfedorafirefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

This is all you needed to do (below) then restart, (you dont need to make links or do anything else)
Quote:
yum -y install java-1.6.0-openjdk-plugin
Reply With Quote
  #4  
Old 9th June 2011, 07:27 PM
IHeart SymLinks Offline
Registered User
 
Join Date: Jan 2011
Posts: 132
linuxfirefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

Quote:
Originally Posted by Dangermouse View Post
This is all you needed to do (below) then restart, (you dont need to make links or do anything else)
Thanks very much. That one command did what I needed. I don't know why people were saying to make symlinks for.

With that being said, I was unaware I was even running 64 bit Firefox. I think I was running 32 bit FF before I upgraded to Fedora 15 (and therefore Firefox 4). I think Chrome was 64 bit all along. Chrome doesn't work, but I don't really care, I just need one browser that can do what I need, and since FF is my main, all the better.

I didn't even know there was 64 Bit Firefox (let alone that I was using it, like I mentioned before). Is there 64 Bit for Windows too, or just Linux?

http://www.mozilla.com/en-US/firefox/all.html
I don't see anything about 64 bit there.
__________________
I♥SymLinks
Fedora 16 64 Bit (Fedora 13 install upgraded to 14 with preupgrade, then 15 using --distro-sync) - KDE 4.6.5 HDD Reporting SMART erorrs, using SSD with Fedora 20, XFCE install with yum install @kde-desktop
http://forums.fedoraforum.org/showthread.php?p=1524332#post1524332 HELP
Reply With Quote
  #5  
Old 10th June 2011, 04:25 AM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,068
linuxfirefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

The 64bit is not very official at mozilla, they mostly give out the 32bit one on the main page. But if you go in the mozilla ftp site, you can get the 64bit one here

ftp://ftp.mozilla.org/pub/firefox/releases/latest-4.0/

in the "linux-x86_64" directory. There's no windows 64bit there
Reply With Quote
  #6  
Old 10th June 2011, 04:24 PM
IHeart SymLinks Offline
Registered User
 
Join Date: Jan 2011
Posts: 132
linuxfirefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

So did the Fedora team compile the code there and use it for Fedora 15? How come there is a Linux one but no Windows one? Is it because they only want people who are tech savy to use it, so they only make it for Linux?
__________________
I♥SymLinks
Fedora 16 64 Bit (Fedora 13 install upgraded to 14 with preupgrade, then 15 using --distro-sync) - KDE 4.6.5 HDD Reporting SMART erorrs, using SSD with Fedora 20, XFCE install with yum install @kde-desktop
http://forums.fedoraforum.org/showthread.php?p=1524332#post1524332 HELP
Reply With Quote
  #7  
Old 30th June 2011, 08:17 AM
tiga2001 Offline
Registered User
 
Join Date: Jun 2011
Posts: 5
linuxfirefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

Quote:
Originally Posted by Dangermouse View Post
This is all you needed to do (below) then restart, (you dont need to make links or do anything else)
yum -y install java-1.6.0-openjdk-plugin
While that worked for me, I was not able to search for that package. When I do
Code:
yum search java-1.6.0-openjdk-plugin
it returns nothing. Does anyone know the cause of this?
Reply With Quote
  #8  
Old 7th July 2011, 09:11 PM
bucketmouse3000 Offline
Registered User
 
Join Date: Feb 2011
Posts: 4
linuxfirefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

The 'java-1.6.0-openjdk-plugin' package is no longer in the official repositories. It has been superseded by 'icedtea-web'.

After installation of 'icedtea-web', run ' alternatives --display libjavaplugin.so' and take note of the location of the icedteaplugin. next, as root, navigate the the mozilla plugins folder ( 'cd /usr/lib/mozilla/plugins/') and run 'ln -s /path/to/icedteaplugin.so'.
Reply With Quote
  #9  
Old 11th July 2011, 08:07 PM
IHeart SymLinks Offline
Registered User
 
Join Date: Jan 2011
Posts: 132
linuxfirefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

Before running
Code:
yum -y install java-1.6.0-openjdk-plugin
worked (I haven't tried since last I checked it was still working) but for next time do I just yum install icedtea-web instead?
__________________
I♥SymLinks
Fedora 16 64 Bit (Fedora 13 install upgraded to 14 with preupgrade, then 15 using --distro-sync) - KDE 4.6.5 HDD Reporting SMART erorrs, using SSD with Fedora 20, XFCE install with yum install @kde-desktop
http://forums.fedoraforum.org/showthread.php?p=1524332#post1524332 HELP
Reply With Quote
  #10  
Old 11th July 2011, 11:05 PM
bucketmouse3000 Offline
Registered User
 
Join Date: Feb 2011
Posts: 4
linuxfirefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

Quote:
Originally Posted by IHeart SymLinks View Post
...but for next time do I just yum install icedtea-web instead?
That is correct.
Reply With Quote
  #11  
Old 5th August 2011, 11:22 PM
Sicily1918 Offline
Registered User
 
Join Date: Oct 2004
Location: Los Angeles
Posts: 77
linuxfirefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

Quote:
Originally Posted by fundamentalmima View Post
I'm using 32 bit Fedora 14, and I cannot get this to work. As soon as I tried to move the "libnpjp2.so", SELinux came up and said there were multiple errors, and that it shouldn't EVER encounter this error.
That's because you tried to link a 64-bit library (/usr/java/jre1.6.0_23/lib/amd64/libnpjp2.so) on a 32-bit OS.

32-bit Fedora runs the standard Java rpm just fine -- it's the 64-bit stuff that there was a problem with (IcedTea takes care of this rather nicely, as per the follow-up messages).
__________________
Fedora 14 x86_64
HP xw4600 Workstation
Core 2 Quad Q9550
nVidia Quadro NVS
HP L2445w
Reply With Quote
  #12  
Old 13th September 2011, 12:45 AM
COKEDUDE Offline
Registered User
 
Join Date: Jan 2011
Posts: 351
linuxchrome
Re: Howto - Java JRE plugin on Firefox for Fedora 14

I made a shellscript for this. If you need wget just uncomment the install line.

Code:
#!/bin/bash
echo "Downloading Java"
#yum -y install wget
wget http://download.oracle.com/otn-pub/java/jdk/6u27-b07/jre-6u27-linux-i586-rpm.bin
echo "Making executable"
chmod a+x jre*
echo "Installing java"
./jre*
cd /usr/lib/mozilla/plugins
echo "Making symlink so Firefox works"
ln -s /usr/java/jre*/lib/i386/libnpjp2.so
Reply With Quote
  #13  
Old 13th September 2011, 05:11 PM
IHeart SymLinks Offline
Registered User
 
Join Date: Jan 2011
Posts: 132
linuxfirefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

Doesn't wget come with Fedora?
__________________
I♥SymLinks
Fedora 16 64 Bit (Fedora 13 install upgraded to 14 with preupgrade, then 15 using --distro-sync) - KDE 4.6.5 HDD Reporting SMART erorrs, using SSD with Fedora 20, XFCE install with yum install @kde-desktop
http://forums.fedoraforum.org/showthread.php?p=1524332#post1524332 HELP
Reply With Quote
  #14  
Old 4th March 2012, 09:23 AM
COKEDUDE Offline
Registered User
 
Join Date: Jan 2011
Posts: 351
linuxfirefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

Quote:
Originally Posted by IHeart SymLinks View Post
Doesn't wget come with Fedora?
It depends what version of Fedora you install. The stripped down versions don't have it.
Reply With Quote
  #15  
Old 4th March 2012, 11:18 AM
leigh123linux
Guest
 
Posts: n/a
linuxfirefox
Re: Howto - Java JRE plugin on Firefox for Fedora 14

Moved to EOL (End Of Life) Versions
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 9th June 2010 11:31 PM
32-bit Java Plugin on 64-bit Firefox 3 Fedora 9 BandC Using Fedora 1 22nd November 2008 01:16 AM
Fedora Core 6 (fc6) firefox with java 1.4.2 plugin theoracle Using Fedora 5 16th January 2007 03:27 PM
fc5 - gstreamer - firefox plugin - howto phil-fedora-5 EOL (End Of Life) Versions 7 2nd April 2006 05:13 PM
How to Install Java plugin and Macromedia plugin on Firefox 1.5? spongehead Using Fedora 5 12th March 2006 07:20 AM


Current GMT-time: 12:34 (Saturday, 01-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
Nebaj Travel Photos on Instagram - Macheng - Neerpelt Photos