[SOLVED] install java plugin for Firefox

Issues related to software problems.

[SOLVED] install java plugin for Firefox

Postby 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: Select all
]# 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
cccc
 
Posts: 99
Joined: 2008/11/22 19:24:37

[SOLVED] install java plugin for Firefox

Postby 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 java.com then as root:
Code: Select all
# 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

Verify installed version.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: install java plugin for Firefox

Postby cccc » 2011/05/08 13:29:12

Thx a lot for en excellent support, it works like a charm.
cccc
 
Posts: 99
Joined: 2008/11/22 19:24:37

Re: [SOLVED] install java plugin for Firefox

Postby pschaff » 2011/05/08 16:38:33

Thanks for reporting back. Marking this thread [SOLVED] for posterity.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America


Return to CentOS 5 - Software Support

Who is online

Users browsing this forum: Bing [Bot] and 0 guests