Closed
Bug 93718
Opened 24 years ago
Closed 24 years ago
java plugin not found
Categories
(Core Graveyard :: Java: OJI, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: tbair, Assigned: nis)
References
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801
BuildID: 2001080104
Previous installation of java 1.3.1
installed mozilla in /home/xxx
made link as suggested in release notes:
libjavaplugin_oji.so ->
/usr/local/j2sdk1.3.1/jre/plugin/i386/mozilla/libjavaplugin_oji.so
restarted mozilla
still no java
linux system with Redhat 7.1, does the same for Mandrake 8.0
Reproducible: Always
Steps to Reproduce:
1.Install java 1.3.1
2.Install mozilla 0.9.3
3.link to correct plugin
4. No java
5. go to a page that uses java and get a message that says to download and
install java plugin, get java2 folder in plugins
6. change link to that jre
7. still no java
Actual Results: no java
Expected Results: java
Comment 1•24 years ago
|
||
I have the same problem. RH7 system, mozilla 0.9.3.
I had the same problem with mozilla 0.9.3 on Debian Woody System.
Looking at the java-plugin with ldd showed:
root@whatever(1):/opt# ldd /opt/mozilla/plugins/libjavaplugin_oji.so
libnspr4.so => not found
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x4004d000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40173000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x401a7000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x401aa000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x401cd000)
libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2
(0x401db000)
libm.so.6 => /lib/libm.so.6 (0x4021d000)
libc.so.6 => /lib/libc.so.6 (0x4023f000)
libdl.so.2 => /lib/libdl.so.2 (0x40356000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4035a000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40362000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Because I installed mozilla to /opt/mozilla I added /opt/mozilla to
/etc/ld.so.conf and started ldconfig.
Now ldd shows:
root@whatever(1):/opt/mozilla# ldd plugins/libjavaplugin_oji.so
libnspr4.so => /opt/mozilla/libnspr4.so (0x4004d000)
[...]
and java works just fine.
Klaus
From the orginal bug report machine
ldd libjavaplugin_oji.so
libnspr4.so => /usr/lib/libnspr4.so (0x40043000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x4006d000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x401b5000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x401ee000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x401f1000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40223000)
libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2
(0x40232000)
libm.so.6 => /lib/libm.so.6 (0x4027b000)
libc.so.6 => /lib/libc.so.6 (0x4029f000)
libpthread.so.0 => /lib/libpthread.so.0 (0x403ce000)
libdl.so.2 => /lib/libdl.so.2 (0x403e5000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x403e9000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x403f1000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
ran ldconfig anyway saw no errors still no java so this is not
the issue I am having
Comment 5•24 years ago
|
||
Can not reproduce this bug. I have no problem using JRE1.3.1 with Mozilla 0.9.3
in Redhat 7.1 machine. All I did is to remove Mozilla 0.7 comes with Redhat 7.1
and installed a fresh Mozilla 0.9.3, after that install JRE1.3.1, go to mozilla
plugins directory and link to the correct plugin. Run ldd libjavaplugin_oji.so
and it gave me the same result as shown above.
I can confirm this problem on RedHat 7.1 with RPM
and installer builds of mozilla-0.9.3
I tried various tricks I gleaned from searching for this bug.
There seem to be many duplicate and semi-related bugs in OJI
and Install that have the same end result as I am experiencing.
I have tried the 0.9.3 RPMs from www.mozilla.org.
I have tried the 0.9.3 Talkback builds (via installer)
I have tried various soft-links and JDK/plugin installations.
I have not tried to compile non-debug build which seemed
to work for a few people on another related bug. Is this
my last/only option?
Comment 7•24 years ago
|
||
Did you get the libjavaplugin_oji.so file after you get the JRE. If you have
the file, type ldd libjavaplugin_oji.so and post your result here. Thank you!
Sorry I forgot to attach the output of ldd
(plugin is from JRE-1.3.1 from Sun)
damian@cosmictwin(/usr/lib/mozilla/plugins)60: ldd libjavaplugin_oji.so
libnspr4.so => /usr/lib/libnspr4.so (0x4004b000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40075000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x401aa000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x401de000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x401e1000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40203000)
libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x40212000)
libm.so.6 => /lib/i686/libm.so.6 (0x40254000)
libc.so.6 => /lib/i686/libc.so.6 (0x40278000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x403a8000)
libdl.so.2 => /lib/libdl.so.2 (0x403bd000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x403c1000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x403c9000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Also, `uname` may be interesting:
Linux cosmictwin 2.4.6 #1 Fri Jul 13 19:17:56 PDT 2001 i686 unknown
What other Debug output can I produce from the RPM builds?
I can also easily test the Talkback installed versions.
Comment 9•24 years ago
|
||
SPAM: reassigning all OJI bugs to new OJI QA, pmac ( 227 bugs)
QA Contact: shrir → pmac
Comment 11•24 years ago
|
||
*** This bug has been confirmed by popular vote. ***
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 12•24 years ago
|
||
I tweaked the ld.so.conf to include the mozilla install directory, and now ldd
libjavaplugin_oji.so returns:
libnspr4.so => /home/probe/mozilla0.9.3/dist/bin/libnspr4.so (0x4004a000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x4008a000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x401be000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x401f2000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x401f6000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40218000)
libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x40226000)
libm.so.6 => /lib/libm.so.6 (0x40268000)
libc.so.6 => /lib/libc.so.6 (0x40287000)
libpthread.so.0 => /lib/libpthread.so.0 (0x403a8000)
libdl.so.2 => /lib/libdl.so.2 (0x403be000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x403c1000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x403ca000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
Still no java though. Mozilla 0.9.2 is working fine, and since I changed
ld.so.conf it's now using libnspr4.so from 0.9.3, with no problem.
Comment 13•24 years ago
|
||
It works for me fine for MOZILLA_0_9_3_BRANCH and for
Sun jre1.3.1.
To tbair@blue.weeg.uiowa.edu: the path you mentioned looks starnge for me --
/usr/local/j2sdk1.3.1/jre/plugin/i386/mozilla/libjavaplugin_oji.so
the strange thing is 'mozilla'. I downloaded jdk1.3.1 from
java.sun.com and then set it up. The path to plugin was:
jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so. The question is:
how did you downloaded jdk1.3.1 ? And the another question:
did you see the same problem if you download and build Mozilla from scratch.
I mean if you didn't have preinstalled nspr ?
Comment 14•24 years ago
|
||
Sergey: I have used the downloaded JDK1.3.1 from sun and
also the oji that comes from the "Plugin Not Found/Download"
process, both with no success.
Not sure if this info will help, but I am using
Redhat7.1 with all the newest Ximian RPM's. Their ORBit
server has a libIDL which is newer than the one on mozilla.org.
[ BTW: i tried building from a source tarball but didn't get
very far... even after installing ORBit-devel, XFree86-devel
I had problems finishing the build, which takes FOREVER! ]
Comment 15•24 years ago
|
||
I am also unable to run Java. Started with a completely new, stock install of
RedHat 7.1. Removed existing Mozilla components (base, psm, mail) and upgraded
to "milestone" Mozilla 0.9.3-1. Downloading the Java plugin (from Netscape)
when offered completes OK but Mozilla hangs on the restart - renaming xpicleanup
allows it to continue - but Java does not seem to run.
Also, started over with new/fresh install of RedHat 7.1 and tried installing
Java2 SDK v1.3.1 from www.sun.com. Set up symbolic link, and still no java ...
I am a newbie, but will try to collect any other useful info that is requested.
Comment 16•24 years ago
|
||
I'm also seeing this. Is it possible that using a Ximian GNOME distribution
could be a factor? I have libraries listed in ldd from Ximian RPMs
gtk+-1.2.10-ximian.10 and glib-1.2.10-ximian.2.
Comment 17•24 years ago
|
||
*** Bug 97035 has been marked as a duplicate of this bug. ***
Comment 18•24 years ago
|
||
*** Bug 94533 has been marked as a duplicate of this bug. ***
Comment 19•24 years ago
|
||
This problem occurs for me using redhat 7.1 with the updates from redcarpet.
For me its not cause by ld.so.conf, because mozilla is installed under
/usr/lib/mozilla.
These are possible packages of interest that I have installed..
gtk+-1.2.10-ximian.10
glib-1.2.10-ximian.2
mozilla-0.9.3-1
glibc-2.2.2-10
I installed the plugin via a symbolic link using the sun instructions, after
downloading jdk1.3.1
Another thing I've noted is after verifying the rpm, I get 1 problem found...
.M...... /usr/lib/mozilla/component.reg
btw Is there any chance that this will be fixed if the bug is unassigned.
Comment 20•24 years ago
|
||
I cannot reproduce that on RH 6.2 with mozilla 0.93 and trunk
(java 1.3.1)
One of comments on bug 82641 suggests to set env.
variable LD_ASSUME_KERNEL=2.2.5 for RH 7
Also, what do you mean by 'no java'? Does mozilla prompts you
to install java plugin or browser just hangs/whatever?
Comment 21•24 years ago
|
||
Reply to Denis,
I believe (but could be mistaken) that I tried all of the
suggestions I found in various release notes - including the
LD_ASSUME_KERNEL suggestion. I will go back and specifically
test this if necessary.
My suspicion is that the JAVA problem is specifically related
to RedHat 7.1 - can you try this version ?
I can not speak for the others, but in my case, by "no java" I
meant that visiting a site requiring Java would once again
offer to go out and refetch the Java Pluggin rather than
displaying the web page content.
Thanks for your interest.
Comment 22•24 years ago
|
||
This is not RedHat specific, or even Linux specific, I have the exact same
problem on an UltraSPARC 10 with Solaris 8 and Solaris 7.
Comment 23•24 years ago
|
||
After I installed XFree86-devel libraries java plugin started to work.
Apparently this is a bug since java is supposed to work without development
libraries.
Comment 24•24 years ago
|
||
Does anybody tried to run standalone java?
I have no problems running java plugin on Ultra 10
with Solaris 8 or on RedHat system. Of course,
I can run java itself :-)
To be able to run, java may need some patches (solaris)
and/or libraries.
Comment 25•24 years ago
|
||
I use Red Hat 7.0, but with the 2.4.9 kernel. No Java means that Mozilla acts as
if a Java interpreter was never installed, prompting the user to download the
Java plug-in when an applet is found. Also, in the about:plugins page, the Java
plug-in is not listed.
Comment 26•24 years ago
|
||
Yes, Java works like it should, I can even use the 4.xx plugin with Netscape
4.78 on the same computer. It's only Mozilla that has problems as far as I can tell.
Comment 27•24 years ago
|
||
*** Bug 99588 has been marked as a duplicate of this bug. ***
Comment 28•24 years ago
|
||
Still no Java in 0.9.4. This new version does, however, print this when I start it:
LoadPlugin: failed to initialize shared library
/usr/java/jdk1.3.0_01/jre/plugin/i386/ns600/libjavaplugin_oji.so
[/usr/java/jdk1.3.0_01/jre/plugin/i386/ns600/libjavaplugin_oji.so: undefined
symbol: __vt_17nsGetServiceByCID]
after which it continues to start. None of the older versions reported any errors.
Comment 29•24 years ago
|
||
Has anyone looked at bug 96910 ? Seems like it's related to this one.
Comment 30•24 years ago
|
||
I am also having trouble with java on mozilla 0.94+ build 2001091606 on linux.
I have tried the j2re-1_4_0-beta2-linux-i386.bin from sun which expands to give
three plugins:
j2re1.4.0/plugin/i386/ns4/javaplugin140.so
j2re1.4.0/plugin/i386/ns600/libjavaplugin_oji140.so
j2re1.4.0/plugin/i386/ns610/libjavaplugin_oji140.so
I tried to get mozilla to work by creating symbolic links to the ns600 and ns610
versions but neither worked: not shown in about:plugins and asks to install
plugin for java pages.
I also tried to get it to work by copying the previous JRE1.3 version (installed
by mozilla automatic plugin downloader thing). This partially worked as it was
displayed in about:plugins however the browser crashes on every java required page.
Comment 31•24 years ago
|
||
Ok, i got java working now with 0.94+ build with the jre1.3.1_01 from the sun site.
Created symbolic link:
libjavaplugin_oji.so -> jre1.3.1_01/plugin/i386/ns600/libjavaplugin_oji.so
or using linux java plugin auto install:
libjavaplugin_oji.so -> java2/plugin/i386/ns600/libjavaplugin_oji.so
However I have found some very strange behaviour...
Start mozilla
Goto: about:plugins
Check that jre1.3 plugin is showing
Goto: java.sun.com (or any site needing java)
Result: Crashes with seg fault
******
OR
start mozilla
Goto: java.sun.com (or any site needing java)
Result: Java applet loads correctly
Goto: about:plugins
JRE1.3 plugin is listed (but at the bottom of this list now)
No seg faults.
I have repeated this many times with both the above plugins and it is very
consistant. Why does opening about:plugins before loading jre cause crashes?
Comment 32•24 years ago
|
||
Sorry two problems here: I don't know why the j2re-1_4_0-beta2 jre was not
loaded by 0.94+ but the seg faulting after viewing about:plugins is due to bug
99950 and affects all plugins, not just java.
It's working fine with jre1.3.
Comment 33•24 years ago
|
||
*** Bug 100274 has been marked as a duplicate of this bug. ***
Comment 34•24 years ago
|
||
I have also been successful using JRE 1.3.1_01 and Mozilla 0.9.4-2 !
Comment 35•24 years ago
|
||
*** Bug 102334 has been marked as a duplicate of this bug. ***
Comment 36•24 years ago
|
||
Still not working in 0.9.5. This time using the precompiled binaries, rather
than building from tarball source. Will be happy to assist, just tell me what to
try. This is a BIG issue for me, I am still using 0.9.2 for my daily needs
because of this bug.
Comment 37•24 years ago
|
||
Suddenly, it's working for me. I haven't got the faintest idea why... i just
created the symlink to
/usr/java/jdk1.3.0_01/jre/plugin/i386/ns600/libjavaplugin_oji.so like I always
did before. All Java related stuff works perfectly like it should... oh well.
Will still be happy to help out with this bug, though. Please tell me how I can
be of any assistance.
Comment 38•24 years ago
|
||
I sove this problem as follows:
1. I install Red Hat Linux 7.1 with GNOME only.
2. I install blackdown version of j2sdk1.3.1
3. Installed mozilla-0.9.3 RPM
3. Made a soft link as follows:
# ln -s /usr/java/j2sdk1.3.1/jre/plugin/i386/mozilla/javaplugin_oji.so
/usr/lib/mozilla/plugins
4. Installed XFree86-devel RPM
5. vi /etc/ld.so.conf
6. added "/usr/lib/mozilla" at the end of the file.
7. and finaly use the ldd comand as follows
# ldd /usr/lib/mozilla/plugins/javaplugin_oji.so
8. Reboot my system
Now every thing seems to work fine.
Comment 39•24 years ago
|
||
So is this a linker issue? This bug is very frustrating. The java plugin still
doesn't show up in about:plugins for me. I helped my coworker install Solaris 8
on an ultrasparc, and guess what -- the plugin shows up on his machine. We're
both using the same OS (Solaris 8), the same hardware (Sun Ultra 10), the same
java plugin (from j2sdk1.3.1), and the same Mozilla (0.9.5 and various nightlies).
Argh.
Assignee | ||
Comment 40•24 years ago
|
||
What does
./run-mozilla.sh /usr/bin/ldd -r plugins/lib*oji*so
says?
Assignee | ||
Comment 41•24 years ago
|
||
Is this problem still reproducible with 0.9.5+ builds?
Please confirm and clarify symptoms.
Comment 42•24 years ago
|
||
Yes, the problem is still here.
malachai(15)> ./run-mozilla.sh /usr/bin/ldd -r plugins/lib*oji*so
libnspr4.so => ./libnspr4.so
libgtk-1.2.so.0 => /opt/gnome/lib/libgtk-1.2.so.0
libgdk-1.2.so.0 => /opt/gnome/lib/libgdk-1.2.so.0
libgmodule-1.2.so.0 => /opt/gnome/lib/libgmodule-1.2.so.0
libglib-1.2.so.0 => /opt/gnome/lib/libglib-1.2.so.0
libXext.so.0 => /usr/openwin/lib/libXext.so.0
libm.so.1 => /usr/lib/libm.so.1
libpthread.so.1 => /usr/lib/libpthread.so.1
libthread.so.1 => /usr/lib/libthread.so.1
libposix4.so.1 => /usr/lib/libposix4.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libXi.so.5 => /usr/openwin/lib/libXi.so.5
libX11.so.4 => /usr/openwin/lib/libX11.so.4
libc.so.1 => /usr/lib/libc.so.1
libdga.so.1 => /usr/openwin/lib/libdga.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
symbol not found: _vt.17nsGetServiceByCID
(plugins/libjavaplugin_oji.so)
symbol not found: XtStrings (plugins/libjavaplugin_oji.so)
symbol not found: _vt.16nsQueryInterface
(plugins/libjavaplugin_oji.so)
symbol not found: vendorShellWidgetClass
(plugins/libjavaplugin_oji.so)
symbol not found: XtShellStrings
(plugins/libjavaplugin_oji.so)
symbol not found: XtOpenApplication
(plugins/libjavaplugin_oji.so)
symbol not found: XtRealizeWidget
(plugins/libjavaplugin_oji.so)
symbol not found: XtDisplay (plugins/libjavaplugin_oji.so)
symbol not found: XtWindow (plugins/libjavaplugin_oji.so)
symbol not found: XtDestroyWidget
(plugins/libjavaplugin_oji.so)
symbol not found:
assign_from_helper__13nsCOMPtr_baseRC15nsCOMPtr_helperRC4nsID
(plugins/libjavaplugin_oji.so)
symbol not found: _._13nsCOMPtr_base
(plugins/libjavaplugin_oji.so)
Doesn't look healthy.
Comment 43•24 years ago
|
||
My bad, the Java plugin actually worked now with Build 2001111210. I installed a
new java sdk a while back and I forgot to update the link in Mozilla's plugin
directory... Hard to tell when the problem disappeared :/
OT: just spotted a little icon in the tab. Nice! How did we ever survive without
tabbed mode?
Assignee | ||
Comment 44•24 years ago
|
||
Great. In fact you ldd output is the same as mine and
plugin is working for me.
Anyway, if noone will be able to reproduce these problems
anymore then i suggest to close this bug as worksforme
Assignee | ||
Comment 46•24 years ago
|
||
Looks like all reported problems were resolved.
Closing as WFM - please reopen if disagree.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•