BLOG ARTICLE Firefox3.0 + Java Plugin(x86_64) | 1 ARTICLE FOUND

  1. 2008/12/17 Firefox3.0 + Java Plugin(x86_64) Comibination on Fedora 10

운영체제를 Red Hat Enterprise Linux에서 Fedora10으로 교체한 후 예전에 그대로 겪었던 Firefox상의 java plugin 문제를 경험하였습니다. 인터넷 상에도 이와 유사한 질문들이 상당히 많이 올라와 있는데 제대로 된 정보가 없어 여기에 다시 올립니다.

외국에서 들어오는 사람들도 있어 이하는 영어로

1. You should download java runtime environment from below URL :
https://jdk6.dev.java.net/6uNea.html
If you install rpm version, installed localtion will be " /usr/java/jre1.6.0_X" and necessary plugins store in /usr/java/jre1.6.0_12/lib/amd64/

2. Change mozilla plugin symbolic link in firefox library.
[jchoi@/usr/lib64/mozilla/plugins]ll
Total 9812
-rwxr-xr-x 1 jchoi jchoi 9525320 2008-11-14 13:03 libflashplayer.so
lrwxrwxrwx 1 root  root       41 2008-12-15 20:32 libjavaplugin.so -> /etc/alternatives/libjavaplugin.so.x86_64
-rwxr-xr-x 1 root  root     5256 2008-10-30 23:34 librhythmbox-itms-detection-plugin.so
-rwxr-xr-x 1 root  root    70816 2008-10-27 01:49 libtotem-basic-plugin.so
-rwxr-xr-x 1 root  root   101448 2008-10-27 01:49 libtotem-cone-plugin.so
-rwxr-xr-x 1 root  root   110472 2008-10-27 01:49 libtotem-gmp-plugin.so
-rwxr-xr-x 1 root  root    70840 2008-10-27 01:49 libtotem-mully-plugin.so
-rwxr-xr-x 1 root  root    79936 2008-10-27 01:49 libtotem-narrowspace-plugin.so
-rwxr-xr-x 1 root  root    31000 2008-08-12 00:54 mozplugger.so

3. Change your directory to /etc/alternatives as above
[jchoi@/etc/alternatives]ll libjavaplugin.so.x86_64
lrwxrwxrwx 1 root root 64 2008-12-16 00:17 libjavaplugin.so.x86_64 -> /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaPlugin.so

This /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaPlugin.so is not working your current environment. You have to change that symbolic link to as follow :

console> sudo mv libjavaplugin.so.x86_64 libjavaplugin.so.x86_64.old
console> sudo ln -s /usr/java/jre1.6.0_12/lib/amd64/libnpjp2.so libjavaplugin.so.x86_64
Remember that these command have to work as root.

4. Close all your firefox, and launch it again. Try it. It will work perfectly.

대부분의 경우 기존에 설치된 라이브러리로 인한 문제가 대부분입니다. Java Runtime의 경우 Sun이 소스를 공개하고 OpenJDK로 넘어오면서 약간의 문제를 가질 수도 있습니다.


크리에이티브 커먼즈 라이센스
Creative Commons License
2008/12/17 12:14 2008/12/17 12:14