LinuxQuestions.org
Review your favorite Linux distribution.
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 08-18-2003, 06:39 PM   #1
Loki_VA
Member
 
Registered: Oct 2002
Distribution: RH 8.0
Posts: 42

Rep: Reputation: 15
Question Mozilla 1.4 and Java


Hey ppl,

I have installed Mozilla 1.4 and cant seem to get java working.
I'm relatively new to this but understand what needs to be done, my question is this:

Where exactly does the java plugin go? I have put it in /usr/local/mozilla/plugins and im pretty sure this is the right dir as mozilla 1 shows up in /usr/lib/mozilla 1.1 but it doesnt show up when I use the show plugins thing in help...
Also i cant seem to find java anywhere under preferences???

Im using j2re-1_4_0_02-fcs-linux-i586.rpm is this even the right one?

Also i noticed on another post that someone was symbolically linking the plugin.. do i need to do that rather than just copy the libjavaplugin_oji.so?

Thanx
 
Old 08-18-2003, 08:09 PM   #2
Loki_VA
Member
 
Registered: Oct 2002
Distribution: RH 8.0
Posts: 42

Original Poster
Rep: Reputation: 15
Surely someone can help me out with this???
 
Old 08-18-2003, 08:29 PM   #3
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
yes, you have to make a symlink in your ~/.mozilla/plugins directory to the java .so file. when you've linked to the right file, the plugins should show up in the mozilla Help/About plugins screen when you restart the browser.

>edit, or maybe in RH you can also make the symlink in /usr/local/mozilla/plugins.

Last edited by synaptical; 08-18-2003 at 08:42 PM.
 
Old 08-18-2003, 09:21 PM   #4
Loki_VA
Member
 
Registered: Oct 2002
Distribution: RH 8.0
Posts: 42

Original Poster
Rep: Reputation: 15
ok umm first im stupid and was running 1.0.1 the whole time!
Now i have the plugin symlinked to both and it shows in 1.01 but anytime i access java stuff mozilla 1.0.1 chrashes... would be fine if...
Another real stupid question...
How do i run 1.4 versus 1.01? i have installed 1.4 just thought it would update / overwrite?
Cant test 1.4 till i can figure out how to run it...

All icons and shortcuts goto 1.0.1 and #mozilla from prompt runs 1.0.1 also...??

Sorry to be such a pain...
 
Old 08-18-2003, 10:00 PM   #5
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
no, it won't overwrite, you have to remove the old version. then just make new icon and menu shortcuts and link them to 1.4. it's probably in /usr/local/mozilla, unless you installed it somewhere else.
 
Old 08-18-2003, 10:40 PM   #6
Loki_VA
Member
 
Registered: Oct 2002
Distribution: RH 8.0
Posts: 42

Original Poster
Rep: Reputation: 15
OK, I've sucessfully removed mozilla 1.0.1 and 1.4 is now default, problem is the plugin does not work, heres the shell output:

LoadPlugin: failed to initialize shared library /usr/local/mozilla/plugins/libjavaplugin_oji.so [/usr/local/mozilla/plugins/libjavaplugin_oji.so: undefined symbol: GetGlobalServiceManager__16nsServiceManagerPP17nsIServiceManager]

Its a symbolic link, thats right yer? Thinking i may have a wrong version of java now its mozilla 1.4, cause 1.0.1 would read it fine just it chrashed when trying to view java pages..
 
Old 08-18-2003, 11:00 PM   #7
Nebu Pookins
LQ Newbie
 
Registered: Aug 2003
Location: Canada
Distribution: Redhat Shrike
Posts: 6

Rep: Reputation: 0
I actually had to make two symbolic links for it to work, and I'm not sure why. But anyway, the two places I made the symbolic links are:

/usr/lib/mozilla/plugins/libjavaplugin_oji.so
/usr/local/mozilla/plugins/libjavaplugin_oji.so

Maybe that'll solve your problem?
 
Old 08-18-2003, 11:06 PM   #8
Loki_VA
Member
 
Registered: Oct 2002
Distribution: RH 8.0
Posts: 42

Original Poster
Rep: Reputation: 15
nope unfortunately not its in the right place because it finds it /usr/local/mozilla/plugins just it wont load, /usr/lib/mozilla is for mozilla 1.0.1, in RH anyway
 
Old 08-18-2003, 11:08 PM   #9
Loki_VA
Member
 
Registered: Oct 2002
Distribution: RH 8.0
Posts: 42

Original Poster
Rep: Reputation: 15
what does undefined symbol mean (see shell output from previous post)??? think thats the problem, did i link it incorrectly?
 
  


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 06:59 PM.

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