FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Join Date
    Dec 2011
    Location
    Hayward, WI
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to install java plugin

    Hello I just installed Fedora 17 64 bit.

    I'm trying to install java plugin for firefox 13.

    Any body know how to?
    Thank You.....
    ooseven
    A freind never gets in your way, less
    you are falling down.

  2. #2
    Join Date
    Apr 2010
    Location
    Earth
    Posts
    901
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to install java plugin

    maybe it is enough to install openjdk. If the java webapp still doesn't work, you could use this tool easyLife to install the proprietary Java and firefox plugin. Ah well but I have no idea if easyLife works under Fedora 17 as well.

    the package is acctually called java-1.7.0-openjdk.
    Last edited by Fenrin; 8th June 2012 at 08:27 PM. Reason: added the correct package name

  3. #3
    Join Date
    May 2011
    Posts
    698
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to install java plugin

    As Fenrin said. But if you want java from oracle, don't install openjdk and just download the rpm from http://www.oracle.com/technetwork/ja...d-1591157.html (jre-7u4-linux-i586.rpm or jre-7u4-linux-x64.rpm, depending on your system) then install it.
    Then for Firefox, close the browser, open a root terminal and
    Code:
    cd /usr/lib/mozilla/plugins
    ln -s /usr/java/jre1.7.0_04/lib/i386/libnpjp2.so .
    or
    Code:
    cd /usr/lib64/mozilla/plugins
    ln -s /usr/java/jre1.7.0_04/lib/amd64/libnpjp2.so .
    Last edited by secipolla; 9th June 2012 at 05:40 PM.

  4. #4
    Join Date
    May 2012
    Location
    germany
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to install java plugin

    Or simply use Fedora Utils to install.

  5. #5
    Join Date
    Dec 2011
    Location
    Hayward, WI
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to install java plugin

    Well I can get java to work most places, but it does not work in pogo.com.

    So off I go to find a distro to install that I can get java plugin to work with pogo...

    I tried fedora before and I had the same problem.

    Cheers all....

    And thanks for trying to help...
    Thank You.....
    ooseven
    A freind never gets in your way, less
    you are falling down.

  6. #6
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    15,423
    Mentioned
    187 Post(s)
    Tagged
    0 Thread(s)

    Re: How to install java plugin

    Quote Originally Posted by secipolla
    As Fenrin said. But if you want java from oracle, don't install openjdk and just download the rpm from http://www.oracle.com/technetwork/ja...d-1591157.html (jre-7u4-linux-i586.rpm or jre-7u4-linux-x64.rpm, depending on your system) then install it.
    Then for Firefox, close the browser, open a root terminal and
    Code:
    cd /usr/lib/mozilla/plugins
    ln -s /usr/java/jre1.7.0_04/lib/i386/libnpjp2.so .
    or
    Code:
    cd /usr/lib/mozilla/plugins
    ln -s /usr/java/jre1.7.0_04/lib/amd64/libnpjp2.so .
    But in the 64 bit case the above is wrong, you'd cd into the /usr/lib64/mozilla/plugins directory to make the link. At least that's the way my 64bit Fedora is set up and it's working, my /usr/lib/mozilla/plugins directory only has the 32bit compatibility nppdf.so file but /usr/lib64/mozilla/plugins contains the below:

    Code:
    cd /usr/lib64/mozilla/plugins
    ls -l 
    total 624
    lrwxrwxrwx. 1 root root     41 2012-06-08 18:10 libflashplayer.so -> /usr/lib64/flash-plugin/libflashplayer.so
    -rwxr-xr-x. 1 root root  14656 2012-01-20 00:39 libgnome-shell-browser-plugin.so
    lrwxrwxrwx. 1 root root     41 2012-05-16 12:32 libjavaplugin.so -> /etc/alternatives/libjavaplugin.so.x86_64
    -rwxr-xr-x. 1 root root   6048 2011-09-29 02:49 librhythmbox-itms-detection-plugin.so
    -rwxr-xr-x. 1 root root 106600 2011-10-26 21:43 libtotem-cone-plugin.so
    -rwxr-xr-x. 1 root root 115400 2011-10-26 21:43 libtotem-gmp-plugin.so
    -rwxr-xr-x. 1 root root  77560 2011-10-26 21:43 libtotem-mully-plugin.so
    -rwxr-xr-x. 1 root root  86248 2011-10-26 21:43 libtotem-narrowspace-plugin.so
    -rwxr-xr-x. 1 root root 137408 2012-01-02 05:49 libvlcplugin.so
    -rwxr-xr-x. 1 root root  74616 2012-05-01 00:49 skypebuttons.so
    Note in my case I used the alternatives tool and not a direct link
    see REF:
    http://www.mjmwired.net/resources/mj...-f16.html#java

    Another point, if you're a developer and want to use the JDK instead of the JRE, the library for the plugin is in a slightly different place, for
    the 1.7.0_04 JDK, the 64bit .so file is in (note the bolded difference):
    /usr/java/jdk1.7.0_04/jre/lib/amd64/libnpjp2.so
    Last edited by marko; 9th June 2012 at 05:35 PM.

  7. #7
    Join Date
    Jan 2011
    Location
    NYC,NY
    Posts
    1,314
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to install java plugin

    Its easier to install
    yum install icedtea-web -y
    It shall pull all the dependencies.
    HP 14 DQ 1025CL | Intel Core i5-1035G1 -Icelake 256GB SSD

  8. #8
    Join Date
    Dec 2011
    Location
    Hayward, WI
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to install java plugin

    I had icedtea-web installed, made the aplet crash firefox.

    Need to use sun-java as marko mentioned.

    I will try that out. Will let you all know in case they want to play pogo....

    ---------- Post added at 10:36 PM ---------- Previous post was at 02:33 PM ----------

    Non above worked for me. I will try again some day
    Thank You.....
    ooseven
    A freind never gets in your way, less
    you are falling down.

  9. #9
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    15,423
    Mentioned
    187 Post(s)
    Tagged
    0 Thread(s)

    Re: How to install java plugin

    Quote Originally Posted by ooseven

    Non above worked for me. I will try again some day
    Some times it helps to stop Firefox and delete the pluginreg.dat file:
    rm ~/.mozilla/firefox/*.default/pluginreg.dat
    then restart Firefox. If Firefox starts and the pluginreg.dat is missing, Firefox will retest all the normal places for the plugins and create a new pluginreg.dat file

  10. #10
    Join Date
    Jan 2010
    Posts
    8,699
    Mentioned
    41 Post(s)
    Tagged
    0 Thread(s)

    Re: How to install java plugin

    If you want genuine java, I've always used the mjmwired guide, it's pretty quick and easy. The latest is for F16, but it works for F17 as well.


    http://www.mjmwired.net/resources/mj...-f16.html#java

  11. #11
    Join Date
    Dec 2011
    Location
    Hayward, WI
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to install java plugin

    OK I'm downloading fedora 17 32 bit. It is genuine java I need. I have debian 6.5 installed now.
    It is what I need in there. I will try one more time. I have tried different distos. I do not like the
    remakes of a distro. Like debian, it is straight debian. And like fedora 17 it is straight fedora.

    So here I go again:-)

    ---------- Post added at 11:48 AM ---------- Previous post was at 10:29 AM ----------

    Quote Originally Posted by smr54
    If you want genuine java, I've always used the mjmwired guide, it's pretty quick and easy. The latest is for F16, but it works for F17 as well.


    http://www.mjmwired.net/resources/mj...-f16.html#java
    Ok I downloaded the jre and installed it by way of the software installer.

    Then I ran this in the terminal as root:
    sudo /usr/sbin/alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so \
    libjavaplugin.so /usr/java/default/lib/i386/libnpjp2.so 20000

    and it installed the java plugin for firefox.

    My (BOSS) wife is happy again.

    I'm marking this down solved. It is what makes pogo.com work......
    Thank You.....
    ooseven
    A freind never gets in your way, less
    you are falling down.

  12. #12
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    15,423
    Mentioned
    187 Post(s)
    Tagged
    0 Thread(s)

    Re: How to install java plugin

    One more point, there will be no more "genuine" java issue any more. From JDK 7/JRE 7 onward, Oracle's branch will be exactly the OpenJDK branch. So basically openjdk will be the actual code branch from oracle and theoretically doing the openjdk packaging should be easier.

    This looks like really good news from the aspect of the OpenJDK in Fedora being the same code

    https://blogs.oracle.com/henrik/entr...openjdk_as_the

    But there's been some licensing and legal problems that seem to be getting worse with Oracle (for example netbeans is no longer a package, I think due to netbeans and java not fulfilling all the Fedora requirements for openness)
    Last edited by marko; 10th June 2012 at 06:20 PM.

  13. #13
    Join Date
    Apr 2009
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to install java plugin

    Quote Originally Posted by secipolla
    As Fenrin said. But if you want java from oracle, don't install openjdk and just download the rpm from http://www.oracle.com/technetwork/ja...d-1591157.html (jre-7u4-linux-i586.rpm or jre-7u4-linux-x64.rpm, depending on your system) then install it.
    Then for Firefox, close the browser, open a root terminal and
    Code:
    cd /usr/lib/mozilla/plugins
    ln -s /usr/java/jre1.7.0_04/lib/i386/libnpjp2.so .
    or
    Code:
    cd /usr/lib64/mozilla/plugins
    ln -s /usr/java/jre1.7.0_04/lib/amd64/libnpjp2.so .
    I had to install the latest release of jre-7u25-linux-x64. I found the file for the link "libjavaplugin.so" points to has changed, from libjavaplugin.so.x86_64 to libjavaplugin_jni.so (don't know when this has changed but this is the only "libjavaplugin..." file I found in the new java installation directory; therefore I tried it, creating a new symbolic link to it in my mozilla plugins directory), such as:
    Code:
    ln -s /usr/java/latest/jre/lib/amd64/libjavaplugin_jni.so /usr/lib64/mozilla/plugins/libjavaplugin.so
    and then
    Code:
    ln -s /usr/java/latest/jre/lib/amd64/libnpjp2.so /usr/lib64/mozilla/plugins/libnpjp2.so
    That worked like a charm after installing the jre from .rpm. Now if I could only get Adobe Flash to work in Firefox (22) as well. :-(
    Last edited by bg3075; 20th July 2013 at 09:15 PM.
    Fedora 20 64-bit
    CPU AMD|PH II X2 545 3.0G AM3
    nVidia GeForce GT220 video card
    4GB DDR2 Memory

  14. #14
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    15,423
    Mentioned
    187 Post(s)
    Tagged
    0 Thread(s)

    Re: How to install java plugin

    Quote Originally Posted by bg3075
    I had to install the latest release of jre-7u25-linux-x64. I found the file for the link "libjavaplugin.so" points to has changed, from libjavaplugin.so.x86_64 to libjavaplugin_jni.so (don't know when this has changed but this is the only "libjavaplugin..." file I found in the new java installation directory; therefore I tried it, creating a new symbolic link to it in my mozilla plugins directory), such as:
    Code:
    ln -s /usr/java/latest/jre/lib/amd64/libjavaplugin_jni.so /usr/lib64/mozilla/plugins/libjavaplugin.so
    and then
    Code:
    ln -s /usr/java/latest/jre/lib/amd64/libnpjp2.so /usr/lib64/mozilla/plugins/libnpjp2.so
    That worked like a charm after installing the jre from .rpm. Now if I could only get Adobe Flash to work in Firefox (22) as well. :-(
    What you're supposed to do is install the package called flash-plugin from the adobe repository, this covers it pretty well:

    http://www.mjmwired.net/resources/mj...f19.html#flash

  15. #15
    Join Date
    Apr 2009
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to install java plugin

    Doggon'it. But, thanks for the info, Marko.
    Code:
    Package flash-plugin-11.2.202.297-release.x86_64 already installed and latest version
    Nothing to do
    Strange, it shows my correct working version here, but when trying to play a facebook game app, it says that I need it installed. I just submitted a bug report to Adobe.
    Last edited by bg3075; 21st July 2013 at 03:47 PM.
    Fedora 20 64-bit
    CPU AMD|PH II X2 545 3.0G AM3
    nVidia GeForce GT220 video card
    4GB DDR2 Memory

Page 1 of 2 12 LastLast

Similar Threads

  1. cannot install oracle java plugin to firefox 3.6
    By tong123123 in forum Using Fedora
    Replies: 8
    Last Post: 28th November 2011, 05:07 AM
  2. Not able to install Java plugin for Firefox
    By JaKsi in forum Using Fedora
    Replies: 5
    Last Post: 11th November 2010, 12:53 PM
  3. java plugin install ...
    By chinni in forum Installation, Upgrades and Live Media
    Replies: 3
    Last Post: 9th January 2008, 07:05 PM
  4. Java install & Firefox plugin
    By AllanPen in forum Using Fedora
    Replies: 13
    Last Post: 4th June 2007, 01:56 AM
  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
  •