Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
08-26-2005, 05:38 PM
|
#1
|
LQ Newbie
Registered: Jun 2004
Location: St. Paul, MN
Posts: 29
Rep:
|
jre link to browser problem
GREETINGS,
I was finally able to install Sun's JRE-1.5.0.04 Version of java onto a computer running Ferdora Core 3. I was able to link Openoffice to it also. The problem is this... when I made a plug in link to Firefox I first use the link commands for an earlier version of Mozilla then a later version of Mozilla and finally to Firefox. I have Java enabled , but Java does not work. Firefox tells me I need to add the plugin manually. Can anyone help ?
http://hotpepperman.gotdns.com:1900/ZeusControl.html
http://hotpepperman.gotdns.com:1900/ZeusControl.html
Last edited by cool hat; 08-26-2005 at 05:41 PM.
|
|
|
08-26-2005, 05:49 PM
|
#2
|
Member
Registered: May 2005
Location: Utah
Distribution: Fedora Core 4
Posts: 36
Rep:
|
hmm, i'm not sure what you did to link in the old virtual machine, but for me it was:
cd ~/.mozilla/plugins/
ln -s /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so
then, I restarted firefox, and it worked like a charm
|
|
|
08-26-2005, 06:42 PM
|
#3
|
LQ Newbie
Registered: Jun 2004
Location: St. Paul, MN
Posts: 29
Original Poster
Rep:
|
jre not linking to browser
Issue the following command: ln -s /usr/java/jre1.5.0_03/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so
The above command is what I tried. I installed it in /home/ directory not /usr/ and made the change. Could my other links to older Mozilla versions cause a problem?
|
|
|
08-26-2005, 08:42 PM
|
#4
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Rep:
|
How about... /usr/lib/jre
1.5.0_03/plugin/i386/ns7/libjavaplugin_oji.so That's where it should be.
|
|
|
08-26-2005, 08:49 PM
|
#5
|
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
|
Quote:
Originally posted by timcharper
hmm, i'm not sure what you did to link in the old virtual machine, but for me it was:
cd ~/.mozilla/plugins/
ln -s /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so
then, I restarted firefox, and it worked like a charm
|
Have you tried what timcharper had suggested? Here is where I have my symlink for java located for Mozilla.
/usr/lib/mozilla/plugins
KC
|
|
|
08-27-2005, 07:44 AM
|
#6
|
LQ Newbie
Registered: Jun 2004
Location: St. Paul, MN
Posts: 29
Original Poster
Rep:
|
Yes I tried what was suggested. I noticed I have these folders , but no information in them.
/usr/lib/java-1.5.0
/usr/lib/java-1.3.0
/usr/lib/java-1.3.1
/usr/lib/java-1.4.0
/usr/lib/java-1.4.1
/usr/lib/java-1.4.2
This is the location of the installed jre /home/cheryl/java/jre1.5.0_04 
Last edited by cool hat; 08-27-2005 at 07:45 AM.
|
|
|
08-27-2005, 12:21 PM
|
#7
|
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
|
OK, this may help or not; again, here is the Symlic I created inside /usr/lib/mozilla/plugins
lrwxrwxrwx 1 root root 58 Jul 23 11:00 libjavaplugin_oji.so -> /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so*
The key is to locate this file:
libjavaplugin_oji.so
and Link it to your FireFox Plugins directory wherever that may be... Like I said mine (I use Mozilla is here:
/usr/lib/mozilla/plugins
So if your plugins for firefox are located here:
/usr/lib/firefox/plugins
and your libjavaplugin_oji.so is locatede here:
/home/cheryl/java/jre1.5.0_04
Then in root:
cd /usr/lib/firefox/plugins <enter>
ln -s /home/cheryl/java/jre1.5.0_04/libjavaplugin_oji.so <enter>
Hope this clearifies a little
KC
|
|
|
08-27-2005, 12:59 PM
|
#8
|
LQ Newbie
Registered: Jun 2004
Location: St. Paul, MN
Posts: 29
Original Poster
Rep:
|
I see what the goal is now and I have not been using the exact location of the (libjavaplugin_oji.so )file, but
with all of the correct directories used I get ( ln: `./libjavaplugin_oji.so': File exists) . Do I now have a problem with permissions not allowing write? Owner ( root ) does have write permission. 
|
|
|
08-27-2005, 01:20 PM
|
#9
|
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
|
Ok, so it's probably because you have some other invalid links already there that are pointing in the wrong place... you can use rm to delete the link but first if you can give us a listing of your plugins directory... Then we can see what's exactly in their...
KC
|
|
|
08-27-2005, 07:12 PM
|
#10
|
LQ Newbie
Registered: Jun 2004
Location: St. Paul, MN
Posts: 29
Original Poster
Rep:
|
/usr/lib/firefox-1.0.6/plugins/ns7-gcc29
/usr/lib/firefox-1.0.6/plugins/ns7
/usr/lib/firefox-1.0.6/plugins/libnullplugin.so
/usr/lib/firefox-1.0.6/plugins/libjavaplugin_oji.so
This is what is there. Thanks for you help. I wondered if I made a bad link by not really knowing what I was doing.  I might need a hand in using the delete command. At one point I was told I have mail after performing a link command. Was that something I had done. I don't even have this computer running as a server. I also am not clear on what application will read mail. I tried (gedit) but no soap. This is where it said my new mail was while logged in as root . . /var/spool/mail
|
|
|
08-27-2005, 10:06 PM
|
#11
|
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
|
Sorry was not clear enough... do an:
ls -l
to get the full listing like this:
lrwxrwxrwx 1 root root 58 Jul 23 11:00 libjavaplugin_oji.so -> /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so*
This will tell you the actual file name... It is most likely "libjavaplugin_oji.so" but it is possible to give symlinks other names and we want to make sure... You will want to delete the file before the (->) witch only shows where the link is followed...
In the case of the example above I would remove the symlink like this...
rm -f libjavaplugin_oji.so
It belongs to root so I must enter "su" mode before I can do this...
Remember your not deleting anything realy but just a link so don't worry to much about it...
KC
|
|
|
08-27-2005, 10:37 PM
|
#12
|
LQ Newbie
Registered: Jun 2004
Location: St. Paul, MN
Posts: 29
Original Poster
Rep:
|
total 32
lrwxrwxrwx 1 root root 21 Aug 25 23:00 libjavaplugin_oji.so -> /libjavaplugi n_oji.so
-rwxr-xr-x 1 root root 16304 Jul 20 11:54 libnullplugin.so
lrwxrwxrwx 1 root root 34 Aug 25 22:57 ns7 -> /usr/java/jre1.5.0/plugin/i386 /ns7
lrwxrwxrwx 1 root root 40 Aug 25 23:07 ns7-gcc29 -> /usr/java/jre1.5.0/plugi n/i386/ns7-gcc29
[root@localhost plugins]#
What should I delete ? Thanks for your help.
|
|
|
08-27-2005, 10:43 PM
|
#13
|
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
|
lrwxrwxrwx 1 root root 21 Aug 25 23:00 libjavaplugin_oji.so -> /libjavaplugi n_oji.so
OK, this indicates that the your actual file is located in /libjavaplugi n_oji.so
so:
rm -f libjavaplugin_oji.so
then:
make your link with the correct path to your file...which I still don't know where in your case..
KC
|
|
|
08-27-2005, 11:23 PM
|
#14
|
LQ Newbie
Registered: Jun 2004
Location: St. Paul, MN
Posts: 29
Original Poster
Rep:
|
Last edited by cool hat; 08-27-2005 at 11:31 PM.
|
|
|
08-28-2005, 12:35 AM
|
#15
|
LQ Newbie
Registered: Aug 2005
Location: Duluth Mn
Distribution: Fedora (for now maybe longer)
Posts: 6
Rep:
|
Alright I am having a similar problem though its possible I have not even installed the java plugin like I thought. Hmm I don't even know where to go from here to describe my problem.
I followed the directions on the sun java download area and everything seemed to work until I go to the linking part. But I am not certain how to check whether the java is installed or if when I attempted to create the link it made a bad link. or heck who knows maybe even I made a good link and something else is wrong.
I am running Fedora Core 4 and Mozilla Firefox.
|
|
|
All times are GMT -5. The time now is 01:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|