I've been trying to install Java, or more specifically, get the Java plugin to work with Firefox, for two days. I FINALLY got it working, but I am now even more confused.
To begin at the beginning:
1. Downloaded Linux Mint iso, installed it on PC.
2. Downloaded Firefox 2.0.0.5 into /home/Vic/firefox
3. Pointed desktop shortcut for Firefox to /home/Vic/firefox/firefox (shortcut works fine)
4. Installed Flash via Synaptic. Flash works fine.
5. Tried installing Java via synaptic. It completed, but about:plugins never showed Java (only Flash and Default Plugin).
6. Uninstalled Java via Synaptic and tried re-installing via Synaptic. Same result as #5.
7. Uninstalled Java via Synaptic and downloaded Java self-extracting file from Java site.
8. The installation instructions say to create a symbolic link in the Mozilla install directory. This is where I was going wrong. The instructions say the directory where the symlink goes is /usr/lib/mozilla/plugins. That directory exists, and has some working symlinks and some BROKEN symlinks in it, but pointing the symlink there does not work.
9. I noticed a directory /usr/lib/mozilla-firefox/plugins, but putting the symlink here also does not work. but, this directory also has some working and some broken symlinks in it.
10. It FINALLY occurred to me that I didn't install Firefox in either of these directories. I put it in /home/Vic/firefox. So, these two commands did the trick:
cd /home/Vic/firefox/plugins
sudo ln -s /usr/java/jre1.6.0_02/plugin/i386/ns7/libjavaplugin_oji.so
Now, Firefox's Java plugin works, but I am confused about some issues.
1. I assume that the directories /usr/lib/mozilla and usr/lib/mozilla-firefox are from the default distro install, and when I did a manual upgrade to Firefox 2.0.0.5, I should (or at least COULD have) have put the Firefox files in one of these directories. Which one would have been the appropriate one?
2. Flash installed perfectly. How? I didn't point the install to any certain directory (Synaptic did it all). I tried looking in the /plugins directory under all the various Mozilla and/or Firefox directories, but all the files that are symlinks have the red X on them. Yet, Flash still works. in /usr/lib/mozilla/plugins and in /usr/lib/mozilla-firefox/plugins and also in /home/Vic/firefox/plugins all the symlinks that have the word "flash" in them also have a red X on them. How is the Flash plugin working, then? I looked at this when it occurred to me that maybe I'm putting the Java symlink in the wrong place, and since the Flash plugin was working, all I had to do was find the Flash symlink, then put the Java symlink in the same plugins directory. But, no working Flash symlink is in any plugins directory I can find.
I apologize for the log-winded post, and for being a n00b, but I'm just trying to learn.


