I am trying to get Java plug-in for Mozilla working. I have read the
handbook and compiled/installed ports/java/linux-sun-jdk14/
I can execute /usr/local/linux-sun-jdk1.4.2/bin/java.
When I symlink libjavaplugin_oji.so from
/usr/X11R6/lib/browser_plugins/ to the plugin path in jdk directory, I
get this error message on starting Mozilla:
LoadPlugin: failed to initialize shared library
/usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
[Shared object "libdl.so.2" not found, required by
"libjavaplugin_oji.so"]
Help, please!
Other options I have tried:
jdk1.3 -> java binary crashes ('OUCH: nested memory code, to 1
levels')
native jdk1.5 -> compile stops after a series of errors ('Java
HotSpot(TM) Client VM warning: Can't detect initial thread stack
location')
(I am using FreeBSD 5.3, linprocfs is mounted)
Regards,
Deepak
_______________________________________________
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"
> Hi,
>
> I am trying to get Java plug-in for Mozilla working. I have read the
> handbook and compiled/installed ports/java/linux-sun-jdk14/
>
> I can execute /usr/local/linux-sun-jdk1.4.2/bin/java.
>
> When I symlink libjavaplugin_oji.so from
> /usr/X11R6/lib/browser_plugins/ to the plugin path in jdk directory, I
> get this error message on starting Mozilla:
>
> LoadPlugin: failed to initialize shared library
> /usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
> [Shared object "libdl.so.2" not found, required by
> "libjavaplugin_oji.so"]
On my system, that was installed from linux_base:
~> /usr/local/sbin/pkg_which /usr/compat/linux/lib/libdl.so.2
linux_base-8-8.0_6 linux_base-8-8.0_7
~>
> Help, please!
>
> Other options I have tried:
> jdk1.3 -> java binary crashes ('OUCH: nested memory code, to 1
> levels')
> native jdk1.5 -> compile stops after a series of errors ('Java
> HotSpot(TM) Client VM warning: Can't detect initial thread stack
> location')
I've been using the native jdk14 for years with few problems...
deep@FreeBSD:/compat/linux/lib$ ls libdl*
libdl-2.3.2.so libdl.so.2
deep@FreeBSD:/compat/linux/lib$
Thanks,