Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


LinkBack Search this Thread
Old 11-15-2008, 09:49 AM   #1
LQ Newbie
Registered: Aug 2008
Location: Long Island, NY
Distribution: Fedora 9, RHEL4, 5, CentOS 4, Kubuntu 8.10
Posts: 5

Rep: Reputation: 0
Problem getting java plugin registered in Firefox

Hi all, first time post! Here is my delemma. I'm running fedora 9 on my HP nc8430 laptop and the initial install comes with Openjdk and was working well for most applications however there were a few I was having an problem with. So I downloaded Sun jre 1.6.0_10 and used alternatives to create/manage the sym links and everything seemed to go fine. I went to the sun page to test java it says its not properly installed and when I go to my java based application it doesn't open properly either. The other problem I noticed is when I looked at aboutlugins on firefox (3.0.2) I only have my vmware plugins listed and nothing else.

Here is the output of java -version:
[root@mkop-lt ~]# java -version
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
Java info:
[root@mkop-lt java]# ll
total 4
lrwxrwxrwx 1 root root   16 2008-11-11 14:49 default -> /usr/java/latest
drwxr-xr-x 7 root root 4096 2008-11-11 14:49 jre1.6.0_10
lrwxrwxrwx 1 root root   21 2008-11-11 14:49 latest -> /usr/java/jre1.6.0_10
[root@mkop-lt java]# pwd
Location of plugins and contents of plugins:
[root@mkop-lt plugins]# pwd
[root@mkop-lt plugins]# ll
total 608
lrwxrwxrwx 1 root root     39 2008-11-14 21:12 -> /usr/lib/flash-plugin/
lrwxrwxrwx 1 root root     34 2008-10-25 00:16 -> /etc/alternatives/
-rwxr-xr-x 1 root root  72832 2008-09-24 02:28
-rw-r--r-- 1 root root    167 2008-09-24 02:28 libtotem-basic-plugin.xpt
-rwxr-xr-x 1 root root  98188 2008-09-24 02:28
-rw-r--r-- 1 root root   3227 2008-09-24 02:28 libtotem-complex-plugin.xpt
-rwxr-xr-x 1 root root  85844 2008-09-24 02:28
-rw-r--r-- 1 root root   1255 2008-09-24 02:28 libtotem-cone-plugin.xpt
-rwxr-xr-x 1 root root 104116 2008-09-24 02:28
-rw-r--r-- 1 root root   4312 2008-09-24 02:28 libtotem-gmp-plugin.xpt
-rwxr-xr-x 1 root root  78328 2008-09-24 02:28
-rw-r--r-- 1 root root   1213 2008-09-24 02:28 libtotem-mully-plugin.xpt
-rwxr-xr-x 1 root root  93964 2008-09-24 02:28
-rw-r--r-- 1 root root   2211 2008-09-24 02:28 libtotem-narrowspace-plugin.xpt
-rwxr-xr-x 1 root root  26764 2008-02-06 16:20
lrwxrwxrwx 1 root root     27 2008-10-25 02:01 -> /usr/lib/ICAClient/
Based on my plugins directory, I would imagine I should see alot more plugins loaded.

Any help or pointers is much appreciated.
Old 11-16-2008, 03:00 AM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Why do you need to use /etc/alternatives? I would make the symlink directly to the java folder, eg:
lrwxrwxrwx 1 root root 50 Jul 8 18:59 -> /opt/java/jre/plugin/i386/ns7/
Old 11-17-2008, 09:37 PM   #3
LQ Newbie
Registered: Aug 2008
Location: Long Island, NY
Distribution: Fedora 9, RHEL4, 5, CentOS 4, Kubuntu 8.10
Posts: 5

Original Poster
Rep: Reputation: 0
Found the solution!

Originally Posted by pixellany View Post
Why do you need to use /etc/alternatives? I would make the symlink directly to the java folder, eg:
lrwxrwxrwx 1 root root 50 Jul 8 18:59 -> /opt/java/jre/plugin/i386/ns7/
Thanks for the reply pixellany. I followed your instruction and removed the alternatives sym link and added:

ln -s /usr/java/jre1.6.0_10/plugin/i386/ns7/
Next I closed and relaunched firefox from my desktop shortcut. I ran about: plugins but still didn't see my list of plugins or the java plugin that was listed in the /usr/lib/mozilla/plugins directory. I then checked the java control panel and noticed under the advanced tab, command to launch the default browser pointed to /usr/bin/firefox. I then tried running /usr/bin/firefox from the konsole, and ran about: plugins and saw all the listed plugins! I checked my KDE shortcut and found it was pointing to /usr/lib/firefox-3.0.4/firefox. I changed it to point to /usr/bin/firefox and all is now working!

I hate when I do stupid things but happy when I find and correct them.


fedora, firefox, java, jre, mozilla, plugins

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
jdk, java plugin and firefox problem ricguitar Fedora 19 08-08-2007 01:30 AM
firefox java plugin problem & solution Blaumieser Mandriva 3 03-31-2007 07:29 PM
Firefox refuses to load Java jnlp files - plugin and java ok Melsync Linux - Software 1 06-25-2006 04:09 PM
problem installing java plugin - Mozilla firefox chr15t0 Linux - General 2 07-20-2004 04:48 AM

All times are GMT -5. The time now is 09:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration