[SOLVED] install java plugin for Firefox

Issues related to software problems.
Post Reply
cccc
Posts: 99
Joined: 2008/11/22 19:24:37

[SOLVED] install java plugin for Firefox

Post by cccc » 2011/05/08 02:44:28

hi

I have Centos 5.6 with Gnome.
Howto install java plugin for Firefox?

I have the following Java version installed:[code]
]# java -version
java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.10) (rhel-1.21.b17.el5-i386)
OpenJDK Client VM (build 14.0-b16, mixed mode)

# alternatives --config java

There are 2 programs which provide 'java'.

Selection Command
-----------------------------------------------
*+ 1 /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
2 /usr/lib/jvm/jre-1.4.2-gcj/bin/java

Enter to keep the current selection[+], or type selection number: 1
[/code]

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

[SOLVED] install java plugin for Firefox

Post by pschaff » 2011/05/08 03:41:56

This works for me for i386 (substitute x86_64 as required):
Download Linux RPM (self-extracting file) jre-6u24-linux-i586-rpm.bin from [url=http://www.java.com/en/download/linux_manual.jsp]java.com[/url] then as root:
[code]
# cd [download directory]
# sh ./jre-6u24-linux-i586-rpm.bin
# alternatives --install /usr/bin/java java /usr/java/jre1.6.0_24/bin/java 3
# alternatives --config java
3
# java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
# cd /usr/lib/mozilla/plugins/
# ln -s /usr/java/jre1.6.0_24/lib/i386/libnpjp2.so
[/code]
[url=http://www.java.com/en/download/installed.jsp]Verify installed version[/url].

cccc
Posts: 99
Joined: 2008/11/22 19:24:37

Re: install java plugin for Firefox

Post by cccc » 2011/05/08 13:29:12

Thx a lot for en excellent support, it works like a charm.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: [SOLVED] install java plugin for Firefox

Post by pschaff » 2011/05/08 16:38:33

Thanks for reporting back. Marking this thread [SOLVED] for posterity.

Post Reply