Greetings Version 1.2b, downloaded today. Surf to http://www.telekom.de WITH java enabled, crash. about:plugins is empty.
Reporter: Is your JRE properly installed? (Symlinked and not copied)
unknown! Question is not clear enough for me. Installed is IBM's 1.3.1 for Linux. Untarred into /usr/local/java (== $JAVA_HOME). Please let me know if something is improperly installed. ls -l /usr/local/java: drwxr-xr-x 3 1000 1000 4096 Jun 27 2001 bin drwxr-xr-x 6 1000 1000 4096 Jun 27 2001 demo drwxr-xr-x 3 1000 1000 4096 Jun 27 2001 include drwxr-xr-x 3 1000 1000 4096 Jun 27 2001 include-old drwxr-xr-x 5 1000 1000 4096 Jun 27 2001 jre drwxr-xr-x 3 1000 1000 4096 Jun 27 2001 lib drwxr-xr-x 4 1000 1000 4096 Jun 27 2001 man ls -l /usr/local/java/jre -rw-r--r-- 1 1000 1000 1191 Jun 27 2001 JavaPluginControlPanel.html drwxr-xr-x 3 1000 1000 4096 Jun 27 2001 bin drwxr-xr-x 11 1000 1000 4096 Jun 27 2001 lib drwxr-xr-x 3 1000 1000 4096 Jun 27 2001 plugin ls -l /usr/local/java/jre/bin -rwxr-xr-x 1 1000 1000 1186 Jun 27 2001 JavaPluginControlPanel -rwxr-xr-x 1 1000 1000 28592 Jun 27 2001 awt_robot drwxr-xr-x 4 1000 1000 4096 Jun 27 2001 i386 -rwxr-xr-x 1 1000 1000 5903 Jun 27 2001 j2sdk-config lrwxrwxrwx 1 1000 1000 13 Jan 21 2002 java -> .java_wrapper lrwxrwxrwx 1 1000 1000 13 Jan 21 2002 keytool -> .java_wrapper lrwxrwxrwx 1 1000 1000 13 Jan 21 2002 policytool -> .java_wrapper -rwxr-xr-x 1 1000 1000 1365 Jun 27 2001 realpath lrwxrwxrwx 1 1000 1000 13 Jan 21 2002 rmid -> .java_wrapper lrwxrwxrwx 1 1000 1000 13 Jan 21 2002 rmiregistry -> .java_wrapper lrwxrwxrwx 1 1000 1000 13 Jan 21 2002 tnameserv -> .java_wrapp
and what do you see in /home/.mozilla/plugins ?
> and what do you see in /home/.mozilla/plugins ? and /usr/lib/mozilla/plugins I don't know that IBM's plugin has to be symlinked like Sun's does.
ls -l /home/x/.mozilla/plugins: -r--r--r-- 1 bc users 2363 Jul 15 11:40 ShockwaveFlash.class -rwxr-xr-x 1 bc users 948056 Jul 15 11:40 libflashplayer.so -rwxr-xr-x 1 bc users 273691 Apr 30 12:42 libjavaplugin_oji140.so (why don't I see any plugins listed in about:?) However, I just noted something else: I was wrong about my java version. Really I'm using Blackdown-1.3.1-FCS. Sorry for the mixup.
try symlinking the plugin instead of copying it into ~/.mozilla/plugins/ (remove the copy first) ln -s /usr/java/_whatever_/libjavaplugin_oji.so ~/.mozilla/plugins/
I performed two actions, hoping to get more information for you. 1. Linking old javaplugin. Remember, about:plugins shows nothing at all. a. ln -s /usr/local/j2re1.4.0/plugin/i386/ns600/libjavaplugin_oji140.so /home/X/.mozilla/plugins (yes, even though JAVA_HOME pointed to a Blackdown java, the plugin came from Sun's 1.4.0 jre. don't ask ;) b. restart mozilla c. about:plugins: nothing (also nothing about flash) d. http://www.telekom.de: crash Note that the plugin was from Sun's 1.4.0 release. 2. Installed Sun's 1.4.1 release, linked: a. ln -s /usr/local/java/plugin/i386/ns4/javaplugin.so /home/X/.mozilla/plugins (this time, JAVA_HOME is /usr/local/java) b. restart mozilla c. about:plugins shows java stuff d. http://www.telekom.de: ok So I suppose there are potentially a few problems: 1) When I'm linking to (or have a full copy of) some funky javaplugin, about: shows nothing, and I receive no warnings 2) When I'm doing 1, java always crashes
ls -l /opt/mozilla/plugins drwxr-xr-x 2 root root 4096 Oct 22 14:24 . drwxr-xr-x 9 root root 4096 Oct 22 14:24 .. -rwxr-xr-x 1 root root 19940 Oct 16 12:48 libnullplugin.so
the plugin can't find the JVM if youi copy it and the plugin calls exit() which cause a crash in mozilla. You must symlink it...
Assignee: asa → joe.chou
Component: Browser-General → OJI
QA Contact: asa → petersen
Reporter: and Java CAN't work if you compile yourself with GCC3.X.
*** Bug 180588 has been marked as a duplicate of this bug. ***
Benjamin, are you still experiencing a problem here? In comment 7, you refer to using the plugin from .../i386/ns600 without success. Please try the .../i386/ns610 version of the plugin instead As the others have noted, the entry in the mozilla plugins directory should be a symbolic link to the actual plugin file, not a hard link or a copy.. And either don't set JAVA_HOME, or make sure it points to a copy of java matching the plugin.
Greetings, Here's the current state of things. I'm using Mozilla from CVS about a week ago. JAVA_HOME=/usr/local/java, which is linked to /usr/local/j2re1.4.1_01/ I performed three tests. In /usr/local/java/plugin/i386 I can find 3 plugins, so for each of the following did "ln -s /usr/local/java/blahblah ." in my plugin directory. The three available plugins are: 1. /usr/local/j2re1.4.1_01/plugin/i386/ns4/javaplugin.so 2. /usr/local/j2re1.4.1_01/plugin/i386/ns600/libjavaplugin_oji.so 3. /usr/local/j2re1.4.1_01/plugin/i386/ns610/libjavaplugin_oji.so Test 1a: use plugin 1, visit http://www.telekom.de Result: window pops up asking me to install a java plugin Test 1b: about:plugins Result: shows all the java plugin info I expected Test 2 and 3 had identical results: Test 2/3a: use plugin 2/3, visit http://www.telekom.de Result: window pops up asking me to install a java plugin Test 2/3b: use plugin 2/3, about:plugins Result: shows the default plugin and the shockwave plugin, but nothing for java. Question: what's this _oji thing? Should I link the _oji into my plugins directory as another name? Upside: no crashes!
-->default owner of OJI
Assignee: joe.chou → joshua.xia
Okay, something that was just touched on in previous comments. Mozilla built with gcc 3.x won't work with the Sun java plugin (or the IBM plugin, most likely). If you're compiling mozilla yourself you should use gcc 2.9x. As an alternative, you can supposedly get a copy of blackdown java built with gcc 3.x, or you can see about getting a copy of the source to Sun's java and building it yourself.
Benjamin, is this still an issue for you? Have you made sure to use a copy of the plugin which matches your compiler?
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.