Click to See Complete Forum and Search --> : java plugin instalation
benjie1
09-03-2003, 08:31 AM
Have the libjavaplugin_oji.so with a symlink to /usr/local/mozilla/plugins It says file exists. Have followed instruction here, but the plugins are not in Moz. I have version 1.4 and there is only the ns610 dir and not the ns610-gcc32. The libjavaplugin_oji.so file is in ns610 and is aymlinked to /plugins as I said. I did use version 1.4.1_01 from sunjava and I wonder if I should use 1.4.2. Also, does it matter which java plugin is installed between the j2re and the j2sdk? Both are available for download. thanks.
Icarus
09-03-2003, 08:57 AM
You only need the jre unless you are doing Java devlopment then you'll need the jsdk (JRE=Java Runtime Environment, JSDK= Java Software Development kit)
The Mozilla notes state that only 1.4.2 will work with Mozilla 1.4 and up, that is the one with the ns610-gcc32 plugins. After that you should be set
benjie1
09-03-2003, 09:59 AM
Just installed the j2re1.4.2 . Then, as root I cd to /usr/java and the j2re1.4.2 is there. I then cd to j2re1.4.2/plugin/i386/ns610-gcc32. Did ls and the libjavaplugin_oji.so file was there. Then I did this. From the ns610-gcc32 dir I did this: ln -s libjavaplugin_oji.so /usr/local/mozilla/plugins Said file exists. Exited the console and started Moz. Did help, about:plugins and the are no java plugins there. Closed and re-started Moz and still no plugins. Re-started the computer opened Moz again and still no plugins. cd to /usr/local/mozilla/plugins and the libjavaplugin_oji.so file is really there in green. What can I do next to get the plugins to work. Thanks.
Icarus
09-03-2003, 10:31 AM
rm -f /usr/lib/mozilla-1.4/plugin/libjavaplugin_oji.so
ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla-1.4/plugin/libjavaplugin_oji.so
Not sure what distro your using, but the default with Red Hat green usually means executable and in the plugins directory it should be a link which is a teal color
Of course you have not let us know if Mozilla was installed via RPM or from source also, so I'm using the RPM example ;)
benjie1
09-03-2003, 10:52 AM
My mistake. Just checked again in the ?usr/local/mozilla/plugins and the libjavaplugin_oji.so is white letters with a red background. No green or teal for that file. Moz 1.4 was downloaded and installed from mozilla.org and was a .tar file. I untarred it using tar -zxvf filename and it seemd to install OK in /usr/local/mozilla Guess the red background color in the /plugins means something isn't right. Hope you can put me on the right path. Thanks again.
Icarus
09-03-2003, 12:17 PM
OK, lets get some details on your system so we can stop guessing :)
I've never seen "white letters with a red background", what distrobution are you using? Slackware, Red Hat, Mandrake, SuSE, ect...
do a "whereis mozilla" and post it's output
is there a /usr/lib/mozilla* anything at all?
is the only place mozilla is, is in th e/usr/local/mozilla? (try "find / -name mozilla|more" and see if that is the only install of Mozilla, you should also have a script called /usr/bin/mozilla)
The more details we get the better we can figure this out ;)
benjie1
09-03-2003, 12:30 PM
the whereis mozilla gives 2 locations One is /usr/local/mozilla and the other is /usr/bin/mozilla I'm using Red hat 9.0 If it helps to get this done, I will stay here and use icq. My icq number is 18781924 and the nickname is phred Otherwise, I'll look for another post. Thanks again.
Icarus
09-03-2003, 01:46 PM
Sorry, no ICQ at work :(
I can sneak into IRC, go to freenode #justlinux
We'll post the solution later here ;)
benjie1
09-03-2003, 02:01 PM
I'm not familiar with IRC and don't have it. Guess email is the best way. Is there any more information I can give you? Red Hat is on a HD all by itself. 30 gigs, a P III 800 MHz and 512 megs of ram. I have removalbe HDs so it gives me the opportinity to put reh hat 9.0 on its own drive, and then remove the drive and insert another drive with windows. That way, both OSs are alone and don't have to share a drive. Please let me know where to look for information on this problem. I hope we are close to getting it done. Appreciate all your trouble and effort.
Surprise. Surprise. Surprise! I have java plugins in Moz. How did that happen? Not sure. You mentioned that you had never seen the libjava....so file in red. So I decided to get rid of it. did a cd to /usr/local/mozilla/plugins and then did rm -f and removed the file. Next I tried to make a symlink as you had shown me, and that same libjava... file was back in Moz plugins in red again. I removed it again. Then I tried to make a symlink as before, and this time it worked. The file was in Moz plugins in teal as you had said it should be. What did I do differently the second time? Not sure really. I think that in making the symlink I did this: /usr/java/j2re ......... /libjavaplugins...so I did not put the file name after/usr/local/mozilla /plugins. That didn't work. So the next time I put the libjava... file at the end after /usr/local/mozilla/plugins/libjava..... This worked! Seems like it has to be therre twice. I may have done something else that I don't remember, but it worked. Thanks again very much.
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.