LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   java plugin for firefox (http://www.linuxquestions.org/questions/slackware-14/java-plugin-for-firefox-186670/)

wi_slacker 05-27-2004 06:21 PM

java plugin for firefox
 
when i run:
Code:

ln -s /usr/lib/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /mnt/data/firefox/plugins/libjavaplugin_oji.so
it comes back saying "operation not permitted", even as root. I think this has something to do w/ the fact that I'm working w/ 2 partitions. how can I get around this?

mcd 05-27-2004 06:28 PM

well, i'm not sure what's going on, but is there suposed to be a " oji.so" at the end of those pathnames? it looks like there's a space between the n and the o, which might be causing trouble. otherwise, i guess i would just make sure that the directory and file that you're trying to link to exist, and whatnot. you might ls -al that file to see it's properties and see if anything jumps out at you.

wi_slacker 05-27-2004 06:37 PM

the command is formatted correctly on my screen, you must be having some browser issues?

ls -al does not report anything unusual.

ProtoformX 05-27-2004 08:46 PM

Re: java plugin for firefox
 
Quote:

Originally posted by wi_slacker
when i run:
Code:

ln -s /usr/lib/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /mnt/data/firefox/plugins/libjavaplugin_oji.so
it comes back saying "operation not permitted", even as root. I think this has something to do w/ the fact that I'm working w/ 2 partitions. how can I get around this?


Try this: cd into firefox's plugin driectory and type this:
Code:

ln -s /usr/lib/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

slackwarefan 05-27-2004 09:53 PM

Did you try just cp ing it? It looks like it may not be letting you link across partitions.

-Hope this helps.

quatsch 05-27-2004 09:57 PM

what is the file system type of the partition where you have firefox installed? If it's fat32 by any chance, you won't be able to create symlinks - and it's got to be a symlink for java; copying the thing won't do.

wi_slacker 05-27-2004 10:24 PM

nice call quatsch, it is a fat32 partition - am I sol?

Thanks for all the other suggestions.

quatsch 05-28-2004 12:02 AM

I guess you'll have to move the firefox installation to the same partition as java. You can just move the whole firefox directory. That should work.

r_jensen11 05-28-2004 11:43 AM

May I ask why you're using a fat32 partition for Linux? It just seems to me to be inefficient and not really the first choice of many....

wi_slacker 05-28-2004 01:09 PM

I seem to have forgotten why its formatted that way. After giving some thought, I think I will reformat it. This wasn't a system partition, just one I created for important files. That way I can nuke my os partitions if I want and don't have to worry about losing anything.

mcd 05-28-2004 01:12 PM

if it's not a system partition you may have done it to be able to read/write in windows too, i have a large fat32 partition that I use for all my files/mp3s/etc because any OS can read/write.

wi_slacker 05-28-2004 01:21 PM

thats what I thought at first, but I have win2k on a completely separate box, with another fat32 data partition on it, accessible to linux via smbfs. The data partition on my linux box is soley for linux os's, so I guess theres no real need for it to be fat32.

r_jensen11 05-28-2004 04:54 PM

Quote:

Originally posted by wi_slacker
thats what I thought at first, but I have win2k on a completely separate box, with another fat32 data partition on it, accessible to linux via smbfs. The data partition on my linux box is soley for linux os's, so I guess theres no real need for it to be fat32.
If you're accessing the Win2k computer via smb, then it can be NTFS if you'd like. It only needs to be FAT32 if you actually mount it onto your file systems rather than just seeing it as a networked hard drive.

bugsbunny 05-28-2004 06:44 PM

There is actually a plugin package for firefox at http://www.linuxpackages.net/. just download and install and thats it.

r_jensen11 05-29-2004 03:06 PM

Quote:

Originally posted by bugsbunny
There is actually a plugin package for firefox at http://www.linuxpackages.net/. just download and install and thats it.
... Or you could do the following:

as a user, untar the package with "tar -zxf" or "tar -jxf", depending on which file format it's in.

As root, mv the new directory and its contents to /usr/local/lib and then run ln -s /usr/local/lib/FireFox/FireFox /usr/local/bin/FireFox, or whatever the path is to the program. Then chmod 755 the symbolic link, and you're set. No pre-packaged stuff from linuxquestions, and only stuff that comes directly from mozilla.org ;)


All times are GMT -5. The time now is 05:16 AM.