lost and found ( for me ? )

Fedora 18 64bit : install java plugin for chrome

small tips.

[root@f18 ~]# cat /etc/fedora-release
Fedora release 18 (Spherical Cow)
[root@f18 ~]# uname -ri
3.8.2-206.fc18.x86_64 x86_64

There are two ways to install java plugin for chrome.

1. install Oracle’s java

download jre from oracle’s site.

I’m using Fedora 18 64bit , so I downloaded JRE for RPM 64bit ver.
# jre-7u17-linux-x64.rpm

install JRE
# rpm -ivh jre-7u17-linux-x64.rpm

make a symbolic link for chrome.
# cd /opt/google/chrome/
# mkdir plugins
# cd plugins/
# ln -s /usr/java/jre1.7.0_17/lib/amd64/libnpjp2.so .

restart chrome and access to http://www.java.com/en/download/testjava.jsp to confirm wether or not java is running.

2. install icedtea-web over yum

[root@f18 ~]# yum search icedtea-web
Loaded plugins: langpacks, presto, refresh-packagekit
fedora/18/x86_64/metalink                                | 9.4 kB     00:00     
fedora-virt-preview                                      | 2.9 kB     00:00     
google-chrome                                            |  951 B     00:00     
updates/18/x86_64/metalink                               | 4.8 kB     00:00     
=========================== N/S Matched: icedtea-web ===========================
icedtea-web-javadoc.noarch : API documentation for IcedTea-Web
icedtea-web.x86_64 : Java browser plug-in and Web Start implementation

[root@f18 ~]# yum install icedtea-web -y

restart chrome.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.