LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices

Reply
 
Search this Thread
Old 04-06-2004, 10:54 PM   #1
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
Talking I got my mozilla 1.6 and java plugin to work


For three weeks I fought with mozilla 1.2.1 to get the java plugin to work. Each time java was called by the browser the browser would die. compleate crash. Each time I talked to someone about it they said they gave up. But today was the day. I downloaded mozilla 1.6 with jre 1.4.2_04 and linked it to the plugins it died a few times but I moved the ln-s from /mozilla/plugins to ~/.mozilla/plugins/ fixed it all way. WHAA HOOOO.
 
Old 04-11-2004, 08:02 PM   #2
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Rep: Reputation: 30
Would like to share the success

Hi,

I too have been struggling with Mozilla and Java. I have tried what you did:
ln -s /usr/..../J2RE/.../libjavaplugin_oji.so -> libjavaplugin_oji.so
I made this link in my ~/.mozilla/plugin directory.
I still have this link in the Mozilla/plugin directory as well. Yet, I still get errors with pages that have Java.

Have I missed somethign that you did?

Thanks,

Erik
 
Old 04-11-2004, 09:38 PM   #3
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slack`er-current
Posts: 845

Rep: Reputation: 31
What errors are you getting? I was stuck between a rock and a hard place for some time when trying to get Java to work with Mozilla-1.6 and Firefox. All i needed to do was install the Alsa libraries and it worked fine. Run Mozilla from the terminal and see what errors you are getting.
 
Old 04-11-2004, 10:38 PM   #4
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Original Poster
Rep: Reputation: 30
what kind of errors cichld do as linux powered said run mozilla in a terminal window, also check to see if Help>about plugins has java activated. then check to see if your preferences have java enabled.
 
Old 04-12-2004, 05:57 AM   #5
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Rep: Reputation: 30
Thanks guys,

I ran Mozilla from the command line. This is what I got:

LoadPlugin: failed to initialize shared library /usr/java/j2re1.4.2_03/plugin/i386/ns610-gcc32/libjavaplugin_oji.so [libgcc_s.so.1: cannot open shared object file: No such file or directory]

I found that I was (am) running version 2.95.3-216 of GCC. I'll update to version
3.3-23.

I'll let you know what happens.

Erik
 
Old 04-19-2004, 06:22 PM   #6
dmcmahon
LQ Newbie
 
Registered: Apr 2004
Posts: 13

Rep: Reputation: 0
Same problem here

I found that I could get past the libgcc_s problem by downloading libgcc-3.3.2-1.i386.rpm and doing rpm -i to install it. (I'm on RedHat 7.3.)

So, now the browser starts up OK, but the second I hit a page with a Java applet, boom, I'm crashed out with a new error:

INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2
System error?:: No such file or directory
Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0.
INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: No such file or directory

Needless to say, this is serious unhappiness. Anyone with any clues, help?!?
 
Old 08-26-2004, 07:02 PM   #7
one_time_login
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
Java in Firefox/Mozilla

> So, now the browser starts up OK, but the second I hit a page with a Java applet, boom, I'm crashed out with a new error:
>
> INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2
> System error?:: No such file or directory
> Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0.
> INTERNAL ERROR on Browser End: Could not read ack from child process
> System error?:: No such file or directory
>
> Needless to say, this is serious unhappiness. Anyone with any clues, help?!?

Yes, this problem is created when the javaplugin is *copied* to the plugin directory. It should be run from its original location (in my case /usr/lib/j2se/1.4/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so), replacing copies by symlinks:

% cd /your/firefox/plugins
% ln -s /full/path/to/libjavaplugin_oji.so .

This is certainly an anoying issue, especially since the error message does not hint at this. However, I must have read this somewhere in java's installation instructions...

Summing up, if firefox or mozilla crash on encountering java applets (which can be checked by reloading the troublesome page after disabling java in the Preferences->Web-Features), then the following can be done:
* current firefox and mozilla builds use gcc 3.3.*:
** Install a recent gcc version.
** Check whether your java is compiled with some 3.3.* gcc. See also http://www.blackdown.org/.
* Check whether there is a symlink to java's install location in your plugins directory, copies will create the above error.

Good luck,

Markus
 
Old 04-27-2005, 02:25 PM   #8
qs_tahmeed
Member
 
Registered: Nov 2003
Location: Bangladesh
Distribution: Solaris 10, FreeBSD 5.4
Posts: 101

Rep: Reputation: 15
Some Questions....

hello there,

i have gcc-3.2, mozilla 1.0.something & recently installed j2re 1.4.2_08-fcs

1st can make j2re work with mozilla 1.0.1-24

if yes -

about changing the link to "~/.mozilla/plugin" dir, i dont have the plugin dir
in this location. should i be creating it.

any help PLS?

regards

tahmeed
 
  


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 for Mozilla ursinus Linux - Newbie 4 08-24-2005 12:12 PM
getting Java plugin for Mozilla 1.6 to work JDA Red Hat 7 09-14-2004 05:42 PM
Mozilla java plugin no go kills Mozilla skinpainting Red Hat 13 11-30-2003 11:30 AM
can't get java plugin to work for mozilla corpus_delicti Linux - Software 2 10-03-2003 12:59 AM
mozilla 1.4 java-vm plugin Quis Linux - Software 5 06-12-2003 04:54 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration