Closed Bug 85049 Opened 24 years ago Closed 24 years ago

mozilla cannot detect installed java plugin

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 69167

People

(Reporter: shao, Assigned: xiaobin.lu)

References

()

Details

installed a fresh copy of 0.9.1. go to one of the java site(for me, www.baggygreen.com.au) Poped up a dialog to install java plugin for x-java-vm, click ok. A new browser is opened up, and directed to a netscape site. Choose install java2 for linux option. Installer started and finished fine. Exit mozilla and restart, noted that the output in console only showed registration of the null plugin and nothing else. Noted in the /usr/local/mozilla/plugins directory, there is a symbolic link to java2's libjavaplugin_oji.so. This setup worked for me before. Tried to remove ~/.mozilla and reproduced. Tried the new nightly 2000060921 and reproduced.
Dup of bug 69167 possibly? (see also comments in 79124) This is probably a shared library issue.
moving to oji
Assignee: idk → edburns
Component: Java-Implemented Plugins → OJI
Xiaobin, installer issue.
Assignee: edburns → xiaobin.lu
Reporter: Did you see the java2 directory in mozilla plugins folder?
Yes. I have mozilla installed /usr/local/mozilla and java2 in /usr/local/java2 and a symbolic link to /usr/local/mozilla/plugins/libjavaplugin_oji.so. This worked for me in the past few months. Since I tried out 0.9.1, it did not work anymore. Then I tried the nightlies with no luck. Then finally I trashed /usr/local/java2 directory and use the installer to install a fresh copy. The java2 directory is installed under /usr/local/mozilla/plugins/java2 with a symbolic link to libjavaplugin_oji.so. But when start up mozilla, it did not register the java plugin at all. I also tried to link this to the blackdown java release with a symbolic link to libjavaplugin.so. Mozilla found the plugin this time, but complaining one of the shared libraries not found. Both plugins worked for me in the past.
shao: As I know, 0.9.1 is a little bit buggy and has a lot of things related to java. I suggest you to remove the 0.9.1 and install a fresh nightly build. I tried several times with nightly build in my machine and can't see any problems. Have a try and let me know you have problems.
It did not work for nightly 2001061121. Acutally, I notice that this is not only a java plugin problem. I also have flash plugin installed and it did not get registered either. So after all, only libnullplugin.so get registered. Here are the files in the plugins directory: -rw-r--r-- 1 shao shao 2363 Jun 13 01:15 ShockwaveFlash.class -rwxr-xr-x 1 shao shao 947992 Jun 13 01:15 libflashplayer.so lrwxrwxrwx 1 shao shao 55 Jun 13 01:15 libjavaplugin_oji.so -> /usr/local/java2/plugin/i386/ns600/libjavaplugin_oji.so -rwxr-xr-x 1 shao shao 19384 Jun 12 15:38 libnullplugin.so
Please check if you has libXt.so(ususally under /usr/X11R6/lib). This dynamic library is required by plugins. I believe you don't have that library.
*** This bug has been marked as a duplicate of 69167 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
I got those libraries installed: /usr/X11R6/lib/libXt.so.6.0 and /usr/X11R6/lib/libXtst.so.6.1. But on nightly 2001061308, mozilla does not seem to link to it. I remember the one before I had links to libXt.so. [4:17|pts/1]shao@gorilla % ldd mozilla-bin libgkgfx.so => libgkgfx.so (0x40016000) libxpcom.so => libxpcom.so (0x40047000) libmozjs.so => libmozjs.so (0x40111000) libjsj.so => libjsj.so (0x40179000) libplds4.so => libplds4.so (0x40192000) libplc4.so => libplc4.so (0x40196000) libnspr4.so => libnspr4.so (0x4019a000) libpthread.so.0 => /lib/libpthread.so.0 (0x401c9000) libdl.so.2 => /lib/libdl.so.2 (0x401df000) libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x401e3000) libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40308000) libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x4033c000) libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x4033f000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40363000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40371000) libm.so.6 => /lib/libm.so.6 (0x4044c000) libc.so.6 => /lib/libc.so.6 (0x4046e000) libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x40585000) libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x405c7000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.