LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-04-2004, 08:18 PM   #1
TSynergy
Member
 
Registered: Aug 2003
Location: Georgia U.S.A.
Posts: 100

Rep: Reputation: 16
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
 
Old 10-05-2004, 01:44 AM   #2
dugas
Member
 
Registered: Jul 2004
Location: louisiana
Distribution: fedora 4/kubuntu
Posts: 116

Rep: Reputation: 15
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
 
Old 10-05-2004, 01:37 PM   #3
TSynergy
Member
 
Registered: Aug 2003
Location: Georgia U.S.A.
Posts: 100

Original Poster
Rep: Reputation: 16
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
 
Old 10-05-2004, 03:35 PM   #4
Junior41180
Member
 
Registered: Dec 2003
Location: Florida
Posts: 157

Rep: Reputation: 30
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

Last edited by Junior41180; 10-05-2004 at 03:37 PM.
 
Old 10-06-2004, 03:42 AM   #5
TSynergy
Member
 
Registered: Aug 2003
Location: Georgia U.S.A.
Posts: 100

Original Poster
Rep: Reputation: 16
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.
 
Old 10-06-2004, 11:51 AM   #6
Junior41180
Member
 
Registered: Dec 2003
Location: Florida
Posts: 157

Rep: Reputation: 30
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 :
 
Old 10-06-2004, 10:56 PM   #7
TSynergy
Member
 
Registered: Aug 2003
Location: Georgia U.S.A.
Posts: 100

Original Poster
Rep: Reputation: 16
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
Java Plugin SepitvaOra Linux - Newbie 5 02-13-2005 10:11 PM
java working, java plugin not provkitir *BSD 3 01-12-2005 05:49 PM
Installing Java plugin - firefox - Fedora Core 2 rickh Fedora 11 06-27-2004 12:42 PM
Java Plugin In Fedora With Mozilla sxa Linux - Software 7 01-20-2004 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration