LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-19-2003, 10:50 PM   #1
ch4s3r
Member
 
Registered: Sep 2003
Posts: 97

Rep: Reputation: 15
Java in Mozilla


Hey everyone.
I've searched this topic and found some answers but i still need some help...
i'm to the point where i put a link to the mozilla plugins folder to the javaplugin.
i open mozilla and java still doesn't work in it. I'm running RH9.0 if it matters. this is where i'm at--------
/usr/lib/mozilla/plugins/libjavaplugin_oji.so

kind of urgent as i need it running for college. thanks for your time.
 
Old 10-19-2003, 11:00 PM   #2
65_289
Member
 
Registered: May 2002
Distribution: Ubuntu 5.04, Kanotix
Posts: 163

Rep: Reputation: 30
How did you install java? I installed the J2RE, and it automatically put the plugins in place for me.
 
Old 10-19-2003, 11:05 PM   #3
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
which version of mozilla are you using? did you upgrade using the downloaded binary from mozilla.org? if you installed that, then you're plugins folder will be /usr/local/mozilla/plugins. how are you invoking mozilla? by typing in mozilla at the command line or by /usr/local/mozilla/mozilla? if you're using a desktop icon link, what's the command that it's using? and which libjavaplugin.so are you using? the libjavaplugin will be in your java install directory inside a subdirectory called ns610-gcc3.2 (if using suns j2sdk1.4.2_01). basically what version of java did you install and what version and how many versions of mozilla do you have and how are you invoking mozilla?

Last edited by megaspaz; 10-19-2003 at 11:07 PM.
 
Old 10-19-2003, 11:11 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
rm /usr/lib/mozilla/plugins/libjava*
ln -sf /path/to/java/plugin/gcc32/libjavaplugin_oji.so /usr/lib/mozilla/plugins
 
Old 10-19-2003, 11:13 PM   #5
ch4s3r
Member
 
Registered: Sep 2003
Posts: 97

Original Poster
Rep: Reputation: 15
i'm using mozilla 1.2.1 and i open it by typing "mozilla" in the terminal.
i downloaded j2re-1_4_2_01-linux-i586-rpm.bin

i went through some user lisence agreement thing in the terminal and agreed to it. i don't know what to do next, once in mozilla i look in the 'help-about plugins' and java isn't there.
 
Old 10-19-2003, 11:16 PM   #6
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
Originally posted by ch4s3r
i'm using mozilla 1.2.1 and i open it by typing "mozilla" in the terminal.
i downloaded j2re-1_4_2_01-linux-i586-rpm.bin

i went through some user lisence agreement thing in the terminal and agreed to it. i don't know what to do next, once in mozilla i look in the 'help-about plugins' and java isn't there.
then i think the plugins folder you want will be:

/usr/lib/mozilla-1.2.1/plugins

create a link like Crashed_Again showed you, but for the last bit change the directory to the one i just posted.

Last edited by megaspaz; 10-19-2003 at 11:19 PM.
 
Old 10-19-2003, 11:18 PM   #7
ch4s3r
Member
 
Registered: Sep 2003
Posts: 97

Original Poster
Rep: Reputation: 15
ok libjavaplugin_oji.so is in the /usr/mozilla-1.2.1/plugins folder, what now?
 
Old 10-19-2003, 11:20 PM   #8
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
Originally posted by ch4s3r
ok libjavaplugin_oji.so is in the /usr/mozilla-1.2.1/plugins folder, what now?
do not copy or move the libjavaplugin from you java installation directory to the mozilla plugin folder. create a link to it. open up mozilla and do
Code:
about: plugins
it should be listed.

edit: frigging smiley substitution. no spaces in front or behind ":" in the code part.

Last edited by megaspaz; 10-19-2003 at 11:22 PM.
 
Old 10-19-2003, 11:24 PM   #9
ch4s3r
Member
 
Registered: Sep 2003
Posts: 97

Original Poster
Rep: Reputation: 15
it's not in the list
 
Old 10-19-2003, 11:29 PM   #10
ch4s3r
Member
 
Registered: Sep 2003
Posts: 97

Original Poster
Rep: Reputation: 15
in the plugins folder the icon for the libjavaplugin_oji.so has a little arrow like the windows shortcuts... does this mean anything? does that mean i linked it wrong?
 
Old 10-19-2003, 11:30 PM   #11
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
could be. depends on how you linked it. what command did you use to link the libjavaplugin.so file?

also, did you by chance try to restart mozilla? if not, try restarting moz.

Last edited by megaspaz; 10-19-2003 at 11:31 PM.
 
Old 10-19-2003, 11:32 PM   #12
ch4s3r
Member
 
Registered: Sep 2003
Posts: 97

Original Poster
Rep: Reputation: 15
ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so


once i cd'd into the plugins folder
 
Old 10-19-2003, 11:37 PM   #13
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
Originally posted by ch4s3r
ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so


once i cd'd into the plugins folder
i tried that for my home directory and i get a red flashy thing, so it maybe not the right way to do it. i get an icon that says link to unknown. try (assuming you're still in the plugins folder):

1. rm libjava*.so
2. ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so libjavaplugin_oji.so

edit: apparently that does work #2. i had the wrong directory. but you still need to make sure the java plugin directory is valid. go to your file manager and navigate to /usr/java and make sure that this directory is indeed right:

/usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/

i don't know because i'm using the j2sdk.

Last edited by megaspaz; 10-19-2003 at 11:42 PM.
 
Old 10-19-2003, 11:46 PM   #14
ch4s3r
Member
 
Registered: Sep 2003
Posts: 97

Original Poster
Rep: Reputation: 15
ok i tried the new ln command you gave me and now there's this in the plugins folder:
libjavaplugin_oji.so and libnullplugin.so but java still doesn't show up in the about : plugins list, btw thanks for helping me for so long
 
Old 10-19-2003, 11:48 PM   #15
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
there's something just not right with this. after making the changes, you are closing mozilla and restarting it right?

what's the file size of your libjavaplugin_oji.so shortcut? also, in my above post, i said i wasn't sure about that file path to the /usr/java/..../libjavaplugin_oji.so
you have to make sure that's valid.

Last edited by megaspaz; 10-19-2003 at 11:49 PM.
 
  


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 for Mozilla and Mozilla-firebird Problem, Please help londonboi Linux - General 5 01-08-2004 05:07 AM
Java in Mozilla Firebird and Mozilla saurya_s Linux - Software 1 12-08-2003 01:12 PM
Mozilla java plugin no go kills Mozilla skinpainting Red Hat 13 11-30-2003 11:30 AM
mozilla and java matt_w_lambert Linux - Software 1 09-02-2003 12:35 AM
JAVA and MOZILLA, mozilla just shuts off!! jcrapps Linux - Newbie 7 02-04-2003 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:59 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