LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora Mozolla Java Plugin (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-mozolla-java-plugin-238834/)

TSynergy 10-04-2004 08:18 PM

Fedora Mozolla Java Plugin
 
Hi

Please help me with this situation.

I downloaded the Linux RPM self-extracting file (jre-1_5_0-linux-i586-rpm.bin. The book I am reading doesn't really state if there is something else I should be doing, like 'installing' maybe. What do I do to enable Java applets?

I typed the follwing command again because the first time around it wasn't modified enough to refect the browser I was using, etc ---

/usr/local/j2re1.5.0/plugin/i386/mozilla-1.6/libjavaplugin_oji.so \/usr/lib/mozilla-1.6/plugins
ln: `/usr/lib/mozilla-1.6/plugins/libjavaplugin_oji.so':

Surprisingly I got the response "File exists"


Then I get the following error message when I draged and droped the file name into the 'run appl..' window:

Cannot display location 'file:///home/spice/j2re-1_4_2_05-linux-i586-rpm.bin%20%20/home/spice/j2re-1_4_2_05-linux-i586-rpm.bin'
Details: The specified location is invalid.

Please let me know what I should be doing to get this to work. Much Thanks.

Tj

dugas 10-05-2004 01:44 AM

java plugin
 
you must make a symbolic link to the plugin in the java folder to the plugin folder for mozilla. There are three different options for the plugin in the java plugin folder. Pick the one that suits your system accordingly, or try one at a time until one works :)

ln -s /path_to_java_plugin_folder/plugin_file /path_to_mozilla_plugin_folder

TSynergy 10-05-2004 01:37 PM

Thanks. I know I can do this as soon as soon as I'm clear about the folders. What is the "java folder" and what is the "folder for mozilla"?

I'm aware of one folder where the downloaded programs lives ---> /usr/lib/mozilla-1.6/plugins/.
I think that /libjavaplugin_oji.so also lives there though I don't know the purpose of that program.

So following the provided sample below, the command would be?

ln -s /path_to_java_plugin_folder/plugin_file /path_to_mozilla_plugin_folder

ln -s /usr/lib/mozilla-1.6/plugins/j2re1.5.0/plugin/i386/(what is this please?)

Much thanks.

Tj

Junior41180 10-05-2004 03:35 PM

Quote:

Originally posted by TSynergy
Thanks. I know I can do this as soon as soon as I'm clear about the folders. What is the "java folder" and what is the "folder for mozilla"?

I'm aware of one folder where the downloaded programs lives ---> /usr/lib/mozilla-1.6/plugins/.
I think that /libjavaplugin_oji.so also lives there though I don't know the purpose of that program.

So following the provided sample below, the command would be?

ln -s /path_to_java_plugin_folder/plugin_file /path_to_mozilla_plugin_folder

ln -s /usr/lib/mozilla-1.6/plugins/j2re1.5.0/plugin/i386/(what is this please?)

Much thanks.

Tj

The path to java should be

/usr/lib/j2re1.5.0

for example

ln -s /usr/java/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla-1.6/plugins/

would create a symbolic link in the plugins directory for mozilla.

Of course that only wold work for java 1.4.2. ;) :) But you get the point. Just replace the j2re1.4.2_04 with your version.

edit: you can use this to get an idea.

http://www.java.com/en/download/help...sp#install-pkg

TSynergy 10-06-2004 03:42 AM

Thanks. I typed the following command:

[root@localhost plugins]# ln -s /spice/j2re-1_4_2_05-linux-i586.bin/libjavaplugin_oji.so/usr/lib/mozilla-1.6/plugins/
[root@localhost plugins]#

There was no error message. How do I ensure that the java plugin now works? It doesn't show up in the list of installed mozilla plugins.

Junior41180 10-06-2004 11:51 AM

Quote:

Originally posted by TSynergy
Thanks. I typed the following command:

[root@localhost plugins]# ln -s /spice/j2re-1_4_2_05-linux-i586.bin/libjavaplugin_oji.so/usr/lib/mozilla-1.6/plugins/
[root@localhost plugins]#

There was no error message. How do I ensure that the java plugin now works? It doesn't show up in the list of installed mozilla plugins.

about:plugins in your browser iirc.

No space, this version of vBull likes to add a space in between about the and the :

TSynergy 10-06-2004 10:56 PM

Thanks for your instructions on this. It finally worked with the command:

ln -s /home/spice/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin . . . . .

Let me share couple of things that I discovered along the way:

A "File exists" message after submitting the above command, could mean that the file is already linked. This prevents any further (or corrective) linking you may try to make. Use the 'unlink' command followed by the file name to remove the unwanted link.

If you are not in the Mozilla plugins directory when you install and so must type the full path name, ensure that there is a space preceeding /usr/lib/mozilla-1.6/plugins/. Sometimes spaces do not display well in the browsers and if you are not familiar with this stuff, . . .

Tj


All times are GMT -5. The time now is 11:39 AM.