LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxQuestions.org Member Success Stories (http://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/)
-   -   I got my mozilla 1.6 and java plugin to work (http://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/i-got-my-mozilla-1-6-and-java-plugin-to-work-167122/)

wolfe2554 04-06-2004 10:54 PM

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.

Cichlid 04-11-2004 08:02 PM

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

Linux~Powered 04-11-2004 09:38 PM

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.

wolfe2554 04-11-2004 10:38 PM

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.

Cichlid 04-12-2004 05:57 AM

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

dmcmahon 04-19-2004 06:22 PM

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?!?

one_time_login 08-26-2004 07:02 PM

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

qs_tahmeed 04-27-2005 02:25 PM

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


All times are GMT -5. The time now is 08:45 PM.