FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 18
  1. #1
    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.

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

  3. #3
    Join Date
    Aug 2007
    Location
    London Postbox (the red one)
    Age
    52
    Posts
    3,868

    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)
    yum -y install java-1.6.0-openjdk-plugin

  4. #4
    Join Date
    Jan 2011
    Posts
    132

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

  5. #5
    Join Date
    Jun 2004
    Location
    Laurel, MD USA
    Posts
    7,157

    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

  6. #6
    Join Date
    Jan 2011
    Posts
    132

    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

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

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

  9. #9
    Join Date
    Jan 2011
    Posts
    132

    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

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

  11. #11
    Join Date
    Oct 2004
    Location
    Los Angeles
    Posts
    77

    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

  12. #12
    Join Date
    Jan 2011
    Posts
    356

    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

  13. #13
    Join Date
    Jan 2011
    Posts
    132

    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

  14. #14
    Join Date
    Jan 2011
    Posts
    356

    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.

  15. #15
    leigh123linux Guest

    Re: Howto - Java JRE plugin on Firefox for Fedora 14


Page 1 of 2 1 2 LastLast

Similar Threads

  1. [SOLVED] Firefox with Sun Java Plugin crash in Fedora 13
    By anantg in forum Using Fedora
    Replies: 7
    Last Post: 9th June 2010, 11:31 PM
  2. 32-bit Java Plugin on 64-bit Firefox 3 Fedora 9
    By BandC in forum Using Fedora
    Replies: 1
    Last Post: 22nd November 2008, 02:16 AM
  3. Fedora Core 6 (fc6) firefox with java 1.4.2 plugin
    By theoracle in forum Using Fedora
    Replies: 5
    Last Post: 16th January 2007, 04:27 PM
  4. fc5 - gstreamer - firefox plugin - howto
    By phil-fedora-5 in forum EOL (End Of Life) Versions
    Replies: 7
    Last Post: 2nd April 2006, 05:13 PM
  5. Replies: 5
    Last Post: 12th March 2006, 08:20 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •