Closed
Bug 86727
Opened 24 years ago
Closed 24 years ago
JAVA2 plugin does not load...
Categories
(Core Graveyard :: Java: OJI, defect)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
People
(Reporter: roland.mainz, Assigned: joe.chou)
Details
JAVA2 plugin does not load with current Mozilla builds (like
2001-06-18-08-trunk).
This happens with the following config:
- Mozilla5 2001-06-18-08-trunk build with Sun Workshop 6 Update 2 EA2:
-- snip --
% cc -V; CC -V
cc: Sun WorkShop 6 update 2 C 5.3 EA2 2001/02/24
usage: cc [ options] files. Use 'cc -flags' for details
CC: Sun WorkShop 6 update 2 C++ 5.3 EA2 2001/02/24
-- snip --
% configure --with-xprint --enable-mathml --enable-svg --enable-xsl
--with-extensions --enable-optimize; gmake
% java -version
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)
... but the same issue happens with JDK 1.3.1 production release...
Console output looks like this:
-- snip --
GFX: dpi=85 t2p=0.0588235 p2t=17 depth=8
Gdk-WARNING **: shmat failed!
Gdk-WARNING **: shmat failed!
WEBSHELL+ = 1
nsPluginHostImpl ctor
********** Got plugins path:
/home/mozilla/builds/2001-06-18-08-trunk/objdir_ws6_gtk/dist/bin/./plugins
IsPluginFile(/home/mozilla/builds/2001-06-18-08-trunk/objdir_ws6_gtk/modules/plugin/default/unix/libnullplugin.so)
LoadPlugin()
/home/mozilla/builds/2001-06-18-08-trunk/objdir_ws6_gtk/modules/plugin/default/unix/libnullplugin.so
returned 1ed508
GetMIMEDescription() returned "*:.*:All types"
IsPluginFile(/usr/j2se/jre/plugin/sparc/ns600/libjavaplugin_oji140.so)
LoadPlugin() /usr/j2se/jre/plugin/sparc/ns600/libjavaplugin_oji140.so returned 0
WEBSHELL+ = 2
Enabling Quirk StyleSheet
Note: verifyreflow is disabled
Note: styleverifytree is disabled
Note: frameverifytree is disabled
-- snip --
Same build with gcc 2.95.1 and Xlib-toolkit (--enable-toolkit=xlib) works fine
and registers the plugin without problems (but plugin does not work - but that's
a Xlib-toolkit specific bug - not related to this one)...
| Reporter | ||
Comment 1•24 years ago
|
||
edburns is on vacation, CC:'ing other Sun staff from bug 85181 who may work on
the same stuff... :-)
| Reporter | ||
Comment 3•24 years ago
|
||
Still happens with 2001-06-27-08-trunk build.
Is it possible that I need a non-debug WS6U2EA2 build to use the JAVA2 plugin
(if yes - why does a gcc2.95.1 build load®ister it correctly) ?
For 1.4 jre, there are two libjavaplugin_oji140.so available.
The one in .../plugin/sparc/ns600 is compiled with gcc, therefore to work with
a gcc compiled mozilla.
The other one in .../plugin/sparc/ns610 is compiled with workshop to work with a
mozilla compiled with workshop.
In your case, your mozilla seemed to be built with workshop, then try the one in
../plugin/sparc/ns610, and see what happens. It worked for me.
Mark workedforme.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
| Reporter | ||
Comment 6•24 years ago
|
||
Uhm... simple problem:
-- snip --
% java -version
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)
% ls -l /usr/java/jre/plugin/sparc/
total 4
drwxr-xr-x 2 root bin 512 Jun 15 11:04 ns4
drwxr-xr-x 2 root bin 512 Jun 15 11:04 ns600
-- snip --
Where can I get this newer version from ?
I installed this version 2 weeks ago...
It seems you've got the version of the beta 1.4 with only the gcc complied lib.
A complete 1.4 should have a new dir, ns610, for the workshop compiled lib. I
am testing the internal version right now. You may query java.sun.com for where
and when a JRE 1.4 with workshop compiled plugin lib can be found.
| Reporter | ||
Comment 8•24 years ago
|
||
I downloaded today's JDK&JRE 1.4beta - still no luck:
-- snip --
% zcat j2sdk-1_4_0-beta-solsparc.tar.Z | tar -tvf - | fgrep plugin
-rw-rw-r-- 10/143 433631 May 16 15:11 2001
SUNWj3rt/reloc/j2se/jre/lib/javaplugin.jar
-rw-rw-r-- 10/143 3061 May 16 15:15 2001
SUNWj3rt/reloc/j2se/jre/lib/locale/de/LC_MESSAGES/sunw_java_plugin.mo
-rw-rw-r-- 10/143 3201 May 16 15:15 2001
SUNWj3rt/reloc/j2se/jre/lib/locale/es/LC_MESSAGES/sunw_java_plugin.mo
-rw-rw-r-- 10/143 3041 May 16 15:15 2001
SUNWj3rt/reloc/j2se/jre/lib/locale/fr/LC_MESSAGES/sunw_java_plugin.mo
-rw-rw-r-- 10/143 3161 May 16 15:15 2001
SUNWj3rt/reloc/j2se/jre/lib/locale/it/LC_MESSAGES/sunw_java_plugin.mo
-rw-rw-r-- 10/143 2188 May 16 15:15 2001
SUNWj3rt/reloc/j2se/jre/lib/locale/ja/LC_MESSAGES/sunw_java_plugin.mo
-rw-rw-r-- 10/143 2460 May 16 15:15 2001
SUNWj3rt/reloc/j2se/jre/lib/locale/ko.UTF-8/LC_MESSAGES/sunw_java_plugin.mo
-rw-rw-r-- 10/143 2114 May 16 15:15 2001
SUNWj3rt/reloc/j2se/jre/lib/locale/ko/LC_MESSAGES/sunw_java_plugin.mo
-rw-rw-r-- 10/143 2927 May 16 15:15 2001
SUNWj3rt/reloc/j2se/jre/lib/locale/sv/LC_MESSAGES/sunw_java_plugin.mo
-rw-rw-r-- 10/143 1867 May 16 15:15 2001
SUNWj3rt/reloc/j2se/jre/lib/locale/zh.GBK/LC_MESSAGES/sunw_java_plugin.mo
-rw-rw-r-- 10/143 1867 May 16 15:15 2001
SUNWj3rt/reloc/j2se/jre/lib/locale/zh/LC_MESSAGES/sunw_java_plugin.mo
-rw-rw-r-- 10/143 1883 May 16 15:15 2001
SUNWj3rt/reloc/j2se/jre/lib/locale/zh_TW.BIG5/LC_MESSAGES/sunw_java_plugin.mo
-rw-rw-r-- 10/143 1883 May 16 15:15 2001
SUNWj3rt/reloc/j2se/jre/lib/locale/zh_TW/LC_MESSAGES/sunw_java_plugin.mo
-rw-rw-r-- 10/143 89784 May 16 15:15 2001
SUNWj3rt/reloc/j2se/jre/lib/sparc/libjavaplugin_jni.so
drwxr-sr-x 10/143 0 May 16 16:59 2001 SUNWj3rt/reloc/j2se/jre/plugin/
drwxr-sr-x 10/143 0 May 16 16:59 2001
SUNWj3rt/reloc/j2se/jre/plugin/sparc/
drwxr-sr-x 10/143 0 May 16 16:59 2001
SUNWj3rt/reloc/j2se/jre/plugin/sparc/ns4/
-rw-rw-r-- 10/143 147648 May 16 15:13 2001
SUNWj3rt/reloc/j2se/jre/plugin/sparc/ns4/javaplugin140.so
drwxr-sr-x 10/143 0 May 16 16:59 2001
SUNWj3rt/reloc/j2se/jre/plugin/sparc/ns600/
-rw-rw-r-- 10/143 558280 May 16 15:15 2001
SUNWj3rt/reloc/j2se/jre/plugin/sparc/ns600/libjavaplugin_oji140.so
-- snip --
;-(
Comment 9•24 years ago
|
||
SPAM: reassigning OJI bugs to new QA, pmac. (227 bugs)
QA Contact: shrir → pmac
| Reporter | ||
Comment 10•24 years ago
|
||
OK... I know have the JDK1.4 beta 2 with
/usr/java/jre/plugin/sparc/ns610/libjavaplugin_oji140.so
The plugin now loads but does not work (both Xlib and GTK+ builds)... is there a
bug for that ?
Comment 11•24 years ago
|
||
Java2 plug in does load now. Marking workforme.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•