Fedora Linux Support Community & Resources Center
  #1  
Old 8th June 2012, 08:01 PM
ooseven Offline
Registered User
 
Join Date: Dec 2011
Location: Hayward, WI
Posts: 16
linuxfirefox
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.
Reply With Quote
  #2  
Old 8th June 2012, 08:12 PM
Fenrin Offline
Registered User
 
Join Date: Apr 2010
Location: Earth
Posts: 858
linuxopera
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
Reply With Quote
  #3  
Old 8th June 2012, 09:02 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
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.
Reply With Quote
  #4  
Old 8th June 2012, 09:05 PM
elias12's Avatar
elias12 Offline
Registered User
 
Join Date: May 2012
Location: germany
Posts: 49
linuxfirefox
Re: How to install java plugin

Or simply use Fedora Utils to install.
Reply With Quote
  #5  
Old 9th June 2012, 03:54 PM
ooseven Offline
Registered User
 
Join Date: Dec 2011
Location: Hayward, WI
Posts: 16
linuxfirefox
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.
Reply With Quote
  #6  
Old 9th June 2012, 05:29 PM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,487
linuxfirefox
Re: How to install java plugin

Quote:
Originally Posted by secipolla View Post
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):
Quote:
/usr/java/jdk1.7.0_04/jre/lib/amd64/libnpjp2.so

Last edited by marko; 9th June 2012 at 05:35 PM.
Reply With Quote
  #7  
Old 9th June 2012, 05:32 PM
hadrons123's Avatar
hadrons123 Offline
'The Blue Dragon'
 
Join Date: Jan 2011
Location: chennai
Posts: 1,008
linuxfirefox
Re: How to install java plugin

Its easier to install
Quote:
yum install icedtea-web -y
It shall pull all the dependencies.
__________________
LENOVO Y580 FHD Intel® Core™ i7-3630QM CPU @ 2.40GHz × 8 |660M GTX NVIDIA | 120 GB SSD OCZ AGILITY Fedora
Reply With Quote
  #8  
Old 10th June 2012, 04:36 AM
ooseven Offline
Registered User
 
Join Date: Dec 2011
Location: Hayward, WI
Posts: 16
linuxfirefox
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.
Reply With Quote
  #9  
Old 10th June 2012, 04:55 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,487
linuxfirefox
Re: How to install java plugin

Quote:
Originally Posted by ooseven View Post

Non above worked for me. I will try again some day
Some times it helps to stop Firefox and delete the pluginreg.dat file:
Quote:
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
Reply With Quote
  #10  
Old 10th June 2012, 05:27 AM
smr54 Online
Registered User
 
Join Date: Jan 2010
Posts: 5,019
linuxchrome
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
Reply With Quote
  #11  
Old 10th June 2012, 05:48 PM
ooseven Offline
Registered User
 
Join Date: Dec 2011
Location: Hayward, WI
Posts: 16
linuxfirefox
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 View Post
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.
Reply With Quote
  #12  
Old 10th June 2012, 06:13 PM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,487
linuxfirefox
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.
Reply With Quote
Reply

Tags
install, java, 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
cannot install oracle java plugin to firefox 3.6 tong123123 Using Fedora 8 28th November 2011 04:07 AM
Not able to install Java plugin for Firefox JaKsi Using Fedora 5 11th November 2010 11:53 AM
java plugin install ... chinni Installation and Live Media 3 9th January 2008 06:05 PM
Java install & Firefox plugin AllanPen Using Fedora 13 4th June 2007 01:56 AM
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: 22:31 (Tuesday, 18-06-2013)

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