 |
 |
 |
 |
| Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems. |

8th June 2012, 08:01 PM
|
|
Registered User
|
|
Join Date: Dec 2011
Location: Hayward, WI
Posts: 16

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

8th June 2012, 08:12 PM
|
|
Registered User
|
|
Join Date: Apr 2010
Location: Earth
Posts: 858

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

8th June 2012, 09:02 PM
|
|
Registered User
|
|
Join Date: May 2011
Posts: 700

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

8th June 2012, 09:05 PM
|
 |
Registered User
|
|
Join Date: May 2012
Location: germany
Posts: 49

|
|
|
Re: How to install java plugin
Or simply use Fedora Utils to install.
|

9th June 2012, 03:54 PM
|
|
Registered User
|
|
Join Date: Dec 2011
Location: Hayward, WI
Posts: 16

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

9th June 2012, 05:29 PM
|
 |
Registered User
|
|
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,487

|
|
|
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):
Quote:
/usr/java/jdk1.7.0_04/jre/lib/amd64/libnpjp2.so
|
Last edited by marko; 9th June 2012 at 05:35 PM.
|

9th June 2012, 05:32 PM
|
 |
'The Blue Dragon'
|
|
Join Date: Jan 2011
Location: chennai
Posts: 1,008

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

10th June 2012, 04:36 AM
|
|
Registered User
|
|
Join Date: Dec 2011
Location: Hayward, WI
Posts: 16

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

10th June 2012, 04:55 AM
|
 |
Registered User
|
|
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,487

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

10th June 2012, 05:27 AM
|
|
Registered User
|
|
Join Date: Jan 2010
Posts: 5,019

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

10th June 2012, 05:48 PM
|
|
Registered User
|
|
Join Date: Dec 2011
Location: Hayward, WI
Posts: 16

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

10th June 2012, 06:13 PM
|
 |
Registered User
|
|
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,487

|
|
|
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.
|
| 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: 22:31 (Tuesday, 18-06-2013)
|
|
 |
 |
 |
 |
|
|