 |
 |
 |
 |
| EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life. |

13th February 2011, 12:33 AM
|
|
Registered User
|
|
Join Date: Jan 2011
Location: Portugal
Posts: 4

|
|
|
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.
|

30th May 2011, 09:12 AM
|
|
Registered User
|
|
Join Date: May 2011
Posts: 10

|
|
|
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.
|

30th May 2011, 11:33 AM
|
 |
Administrator
|
|
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,847

|
|
|
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
|
|

9th June 2011, 07:27 PM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 128

|
|
|
Re: Howto - Java JRE plugin on Firefox for Fedora 14
Quote:
Originally Posted by Dangermouse
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
Junior SysAdmin and Python Newbie
Fedora 15 64 Bit (Fedora 13 install upgraded to 14 with preupgrade, then 15 using --distro-sync)
KDE 4.6.5
Laptop: Fedora 13 upgraded to 15 via --distro-sync
Can someone pls help me with The wireless on my laptop?
|

10th June 2011, 04:25 AM
|
 |
Registered User
|
|
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449

|
|
|
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
|

10th June 2011, 04:24 PM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 128

|
|
|
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
Junior SysAdmin and Python Newbie
Fedora 15 64 Bit (Fedora 13 install upgraded to 14 with preupgrade, then 15 using --distro-sync)
KDE 4.6.5
Laptop: Fedora 13 upgraded to 15 via --distro-sync
Can someone pls help me with The wireless on my laptop?
|

30th June 2011, 08:17 AM
|
|
Registered User
|
|
Join Date: Jun 2011
Posts: 5

|
|
|
Re: Howto - Java JRE plugin on Firefox for Fedora 14
Quote:
Originally Posted by Dangermouse
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?
|

7th July 2011, 09:11 PM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 4

|
|
|
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'.
|

11th July 2011, 08:07 PM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 128

|
|
|
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
Junior SysAdmin and Python Newbie
Fedora 15 64 Bit (Fedora 13 install upgraded to 14 with preupgrade, then 15 using --distro-sync)
KDE 4.6.5
Laptop: Fedora 13 upgraded to 15 via --distro-sync
Can someone pls help me with The wireless on my laptop?
|

11th July 2011, 11:05 PM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 4

|
|
|
Re: Howto - Java JRE plugin on Firefox for Fedora 14
Quote:
Originally Posted by IHeart SymLinks
...but for next time do I just yum install icedtea-web instead?
|
That is correct.
|

5th August 2011, 11:22 PM
|
 |
Registered User
|
|
Join Date: Oct 2004
Location: Los Angeles
Posts: 73

|
|
|
Re: Howto - Java JRE plugin on Firefox for Fedora 14
Quote:
Originally Posted by fundamentalmima
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
|

13th September 2011, 12:45 AM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 275

|
|
|
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
|

13th September 2011, 05:11 PM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 128

|
|
|
Re: Howto - Java JRE plugin on Firefox for Fedora 14
Doesn't wget come with Fedora?
__________________
I♥SymLinks
Junior SysAdmin and Python Newbie
Fedora 15 64 Bit (Fedora 13 install upgraded to 14 with preupgrade, then 15 using --distro-sync)
KDE 4.6.5
Laptop: Fedora 13 upgraded to 15 via --distro-sync
Can someone pls help me with The wireless on my laptop?
|

4th March 2012, 09:23 AM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 275

|
|
|
Re: Howto - Java JRE plugin on Firefox for Fedora 14
Quote:
Originally Posted by IHeart SymLinks
Doesn't wget come with Fedora?
|
It depends what version of Fedora you install. The stripped down versions don't have it.
|

4th March 2012, 11:18 AM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Howto - Java JRE plugin on Firefox for Fedora 14
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 06:26 (Thursday, 23-05-2013)
|
|
 |
 |
 |
 |
|
|