ln -s java/plugin/i386/ns610-gcc32/libjavaplugin_oji.solibjavaplugin_oji.so
This line looks very wrong to me. Are you sure that is where libjavaplugin_oji is. I beleive it was in /usr/java/jre-1.4.2/plugin/i386/*****. Don't hold me to that. Very old version of java. Also there is a space missing seperating the ibjavaplugin_oji.solibjavaplugin_oji.so
Also I assume when you did issue that command you were in your firefox plugin directory. If not then that command is wrong.
For a Java install for 1.5.0_01 check out this post. I have been working on it and believe it is correct now. If something is wrong I will fix it. http://www.fedoraforum.org/forum/sho...9&postcount=12
The following is from the above post. Its that fedoraforum is up and down.
This is for either mozilla or firefox.
NOTE: In future post, I and others have found errors in the list below. This list below should have all corrections..
NOTE: An idea another person had for this post is have a viewer of the post cut and paste the whole post to a text file. Then one can read it easier if browser's fonts are small. It is easy to miss a space.
NOTE: One needs to know exactly where each file and directory is on thier machine. Especially if using older or newer java releases or using the sdk releases. I will try to keep this post updated as newer versions come out. Will be adding a sdk section. When time allows.
NOTE: If anyone sees anything I missed or thinks of something would help, please let me know.
I will start from the beginning.
I will be using firefox as web browser (version 1.0.7). Can be found here at http://www.mozilla.org/products/firefox/
Mozilla can be found at http://www.mozilla.org/products/mozilla1.x/
My plugin folder is located here /usr/lib/firefox-1.0.7/plugins . Your location maybe different. (standard for rpm version)
I will use jdk-1_5_0_05-nb-4_1-linux-ml.bin as the example. It can be found at http://java.sun.com/j2se/1.5.0/download.jsp
If you still have a clean install and have jjdk-1_5_0_05-nb-4_1-linux-ml.bin then lets start from the top.
1. Download your jdk-1_5_0_05-nb-4_1-linux-ml.bin file.
2. Open a terminal.
3. Login as root by ' su - '. hit enter. Enter password. hit enter.
4. Goto the location where the jdk-1_5_0_05-nb-4_1-linux-ml.bin is stored.
5. Type ' chmod 777 jdk-1_5_0_05-nb-4_1-linux-ml.bin ' hit enter
6. Type ' ./jdk-1_5_0_05-nb-4_1-linux-ml.bin ' hit enter ( This extracts the file and installs in /opt directory.)
*** The following is if the .bin file extracted and rpm file. Example using jre-1_5_0_01-linux-i586.rpm.bin
7. Now if you do not have Java installed follow steps 8 and 9. If you do goto step 10
8. Run a test to see if the rpm will install. It will not install it pretends it did. type ' rpm -ivh jre-1_5_0_01-linux-i586.rpm --test ' hit enter
9. If no errors then remove the --test part and install ' rpm -ivh jre-1_5_0_01-linux-i586.rpm ' goto step 12
10. If there was some error and have a previous version of java installed use ' rpm -Uvh jre-1_5_0_01-linux-i586.rpm --test '
11. Again if no problems remove the -- test and install using -Uvh ' rpm -Uvh jre-1_5_0_01-linux-i586.rpm '
*** The above is install if the .bin file is a rpm file when run.
12. Now type ' ./usr/java/jre1.5.0_o1/bin/java -version ' It should tell you version. If showing the wrong version then and older version exist. Do the option 3 in the next section. Or add the java directory to your path.
Additional things to do.
1. Type ' alternatives --remove java /usr/share/java/libgcj-java-placeholder.sh '
2. Type ' alternatives --set java /opt/jdk1.5.0_05/jre/bin/java '
It's only really useful with some (very few) of the Fedora java applications (scripts really), the
two above commands are not really needed other wise.
3. Create soft link of java to /usr/bin ' ln -s /opt/jdk1.5.0_05/jre/bin/java /bin/java '
4. Type ' java -version ' to see what java version is running.
*** Now for the plugin. (NOTE: For java plugin requires to be a soft link, not a hard link.) ***
*** (Note option 8 in the following is the best place to put the plugin. Note this may not work on all systems, why I do not know, if it does fail you need to do it as option 7a)***
1. Do you know where your firefox plugin folder is?
2. If you installed firefox from and rpm then it should be at /usr/lib/firefox-1.0.7/plugins .
3. Lets be sure goto to that point and see that it exist.
4. Now you know where the plugin folder is? Correct?
5. Make sure there is no current link of a previous install in the plugin Folder. Correct?
6. Now there are two plugins ( NOTE: some older versions of Java relaeses contain 3 different one ) available, but only one will work. It all depends on the mozilla engine build.
For fiefox the ns7 works most of the time. In mozilla the same but sometimes the ns7-gcc2 one. Depends on compiling options.
7a.Lets use the ns7 one for firefox-1.0
type ' ln -s /opt/jdk1.5.0_05/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-1.0.7/plugins/libjavaplugin_oji.so
7b. For Mozilla 1.7.3 using ns7 plugin
type ' ln -s /opt/jdk1.5.0_05/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla-1.7.3/plugins/libjavaplugin_oji.so
*** New place to put plugins no matter when system is updated ***
8. This usually works on most systems for both mozilla and firefox. By using /usr/lib/mozilla/plugins directory whether you are using mozilla or firefox, you do not need to move your plugins from say /usr/lib/firefox-1.0.4/plugins to /usr/lib/firefox-1.0.7/plugins.
type ' ln -s /opt/jdk1.5.0_05/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
9. If there is a previous soft link from an earlier version of java add the -f to the above command. This overwrite the previous soft link.
type ' ln -fs /opt/jdk1.5.0_05/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-1.0/plugins/libjavaplugin_oji.so
To the Browser.
8. Open Firefox
9. In the address bar type ' about
: plugins ' There is no space in between : p in that command. I have to write it that way so you could see it.
10. Is java plugin there?
*** Konquorer Setup ***
1. Now if you are using KDE and konquorer this is the best way to add the java plugin. Use the point /usr/lib/mozilla/plugins. Do the same as above to create the softlink ln -s /opt/jdk1.5.0_05/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
2. Now open a Konquorer window.
3. Click on Settings tab
4. Now click on Configure Konquorer
5. Select Plugins
6. Now you see a section called Netscape Plugins
7. Below that it list where moziila/netscape/firefox plugins can be found. Make sure it list /usr/lib/mozilla/plugins. If it does not add it by selecting the New button.
8. Once defined hit the Scan for New Plugins button.
9. Hit the Plugins tab next to the Scan tab to see what it found.
10. Hit Apply at the bottom and OK to exit.
If browser crashes on startup:
Then you are using the wrong plugin try one of the other ones. Depending on what gcc version was used on the compiling of mozilla or firefox is how which plugin to use.
This works better with java2 ver 1.5.0 or greater
To remove java: Note if it was installed using an rpm.
If it is an RPM file is to do ' rpm -e jre ' This command will remove all rpm's starting with jre.
If it was a source install then one needs to run the command ' make uninstall ', but only if source is still installed.
" Google the Linux way @ http://www.google.com/linux