LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Firefox 1.0.1 and Java 1.5 plugin: no go (https://www.linuxquestions.org/questions/linux-software-2/firefox-1-0-1-and-java-1-5-plugin-no-go-302658/)

Kropotkin 03-17-2005 04:52 AM

Firefox 1.0.1 and Java 1.5 plugin: no go
 
The Java 1.5 plugin worked fine with version v1.0 of Firefox. However, the new Firefox v1.0.1 crashes when I create a symbolic link to /usr/java/jre1.5.0/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
in either /usr/lib/mozilla/plugins/ or ~/.mozilla/plugins.
Anyone else encountered this problem? Any workarounds for it?

I am running Fedora Core 3 with kernel 2.6.10-1.770.

snecklifter 03-17-2005 05:40 AM

Reboot that sucker and see how you go. I had the same problem.

/usr/java/jre1.5.0/plugin/i386/ns7-gcc29/libjavaplugin_oji.so

change this to

/usr/java/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so

yeah baby.
Regards
Chris

Kropotkin 03-17-2005 12:10 PM

Quote:

Originally posted by snecklifter

/usr/java/jre1.5.0/plugin/i386/ns7-gcc29/libjavaplugin_oji.so

change this to

/usr/java/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so

Thanks, that fixed it.

penguinlnx 03-17-2005 12:22 PM

I also would like Java....
 
Could either of you flesh out the steps between "download 1.5"...
including how to symbolically 'link' the file?

I am only an egg.

Komakino 03-17-2005 12:45 PM

Re: I also would like Java....
 
Quote:

Originally posted by penguinlnx
Could either of you flesh out the steps between "download 1.5"...
including how to symbolically 'link' the file?

I am only an egg.


To symbolically link (like a windows shortcut only more powerful):
Code:

ln -s <original file> <link directory>
i.e.
ln -s /usr/java/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so  /usr/lib/mozilla/plugins

will create a symbolic link from the first file in the directory /usr/lib/mozilla/plugins.
If you're using firefox and it puts itself in /usr/local/firefox then just change the second bit accordingly. This is most likely the case if you installed firefox from a tarball and put it somewhere non-standard (but frankly more sensible)

By the way, just about everything has a manual page. Type man <command> to get the page up. q to quit. e.g. man ln will give you the man page for the ln command.

penguinlnx 03-19-2005 02:37 AM

First let me apologize for my ignorance...
 
Okay: "man ln" does indeed give a terse and no doubt accurate description of parameters and actions for the Linux command, 'ln'.

...which sadly is meaningless to me even though I am an experienced MASM and TurboPascal programmer. Perhaps you could recommend a friendly tutorial on the *PURPOSE* and uses of the 'ln' command as opposed to the syntax.

It sure sounded like it could be part of a series of steps for creating a 'launcher' in Linuxese, which they tell me is some kind of equivalent to a pointer to an .exe file in Windows. (I hate to keep using Windows as a translating language, but what can I do?)

"Lemme esplain - no there isn't time: lemme sum up:"

>>"like a windows shortcut only more powerful" (quite the teaser but leaves me in the dark)

>> "creates a symbolic link to the 1st file in the folder..."

(a frightening thought! How could such a random act luck out and be useful?
Wouldn't you want to somehow control what file was the target of a 'link' whatever a link is?
I know this completely betrays my ignorance of Linux thinking, but can you not pity one
who is used to 'right-clicking' on an .exe file and getting a movable 'pointer' to it instantly?)

"...are there no workhouses? Are there no prisons?" - Msr Scrooge...

Komakino 03-19-2005 09:06 AM

Re: First let me apologize for my ignorance...
 
Quote:

Originally posted by penguinlnx
Okay: "man ln" does indeed give a terse and no doubt accurate description of parameters and actions for the Linux command, 'ln'.

...which sadly is meaningless to me even though I am an experienced MASM and TurboPascal programmer. Perhaps you could recommend a friendly tutorial on the *PURPOSE* and uses of the 'ln' command as opposed to the syntax.

It sure sounded like it could be part of a series of steps for creating a 'launcher' in Linuxese, which they tell me is some kind of equivalent to a pointer to an .exe file in Windows. (I hate to keep using Windows as a translating language, but what can I do?)

"Lemme esplain - no there isn't time: lemme sum up:"

>>"like a windows shortcut only more powerful" (quite the teaser but leaves me in the dark)

>> "creates a symbolic link to the 1st file in the folder..."

(a frightening thought! How could such a random act luck out and be useful?
Wouldn't you want to somehow control what file was the target of a 'link' whatever a link is?
I know this completely betrays my ignorance of Linux thinking, but can you not pity one
who is used to 'right-clicking' on an .exe file and getting a movable 'pointer' to it instantly?)

"...are there no workhouses? Are there no prisons?" - Msr Scrooge...

Sorry, by "Creates a link to the first file in the folder" I didn't mean the file that appears first, I meant the file I had already referred to in the post.
Code:

ln -s /usr/java/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so  /usr/lib/mozilla/plugins
Put a different way, the command above creates a symbolic link (without the -s it would make a hard link) from the first file (libjavaplugin_oji.so) in the folder /usr/lib/mozilla/plugins. If you want you could specify the name of the link if you changed that last parameter to /usr/lib/mozilla/plugins/newlinkname.so

For a summary of linking:
http://burks.bton.ac.uk/burks/linux/rute/node15.htm

mebrelith 03-19-2005 11:04 AM

Im puzzled. This thread is about Firefox 1.0.1 or Mozilla? Cause most (all I think) answers are for Mozilla.

The problem with Firefox 1.0.1 and Java 1.5 should be fixed by doing this:

Code:

ln -s /usr/java/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so  /usr/lib/firefox-1.0.1/plugins
Then again if any of the previously posted replies helped maybe you are using Mozilla and not Firefox 1.0.1
Just trying to clarify this a bit.

Komakino 03-19-2005 01:01 PM

Quote:

Originally posted by mebrelith
Im puzzled. This thread is about Firefox 1.0.1 or Mozilla? Cause most (all I think) answers are for Mozilla.

The problem with Firefox 1.0.1 and Java 1.5 should be fixed by doing this:

Code:

ln -s /usr/java/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so  /usr/lib/firefox-1.0.1/plugins
Then again if any of the previously posted replies helped maybe you are using Mozilla and not Firefox 1.0.1
Just trying to clarify this a bit.

This is the solution already posted, bar the change of directory which I've alluded to earlier anyway. Depending on how you install firefox, you will get a different install directory. The default seems to be /usr/lib/firefox-1.0 or similar, but to me /usr/lib seems like a stupid prefix for installing a program, therefore mine is installed in /usr/local/firefox and my Mom's is /opt/firefox

The answers above were more about linking as that's what was asked for by one of the later posters.


All times are GMT -5. The time now is 08:12 PM.