Subject: Re: Mozilla and Java plugin--does it work?
To: None <tech-pkg@netbsd.org>
From: Julio Merino <slink@unixbsd.org>
List: tech-pkg
Date: 04/08/2002 23:29:38
--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

As I know (correct me if I'm wrong) you *cannot* use a linux plugin
within a native browser. That is, you are running Mozilla 0.9.9 compiled
natively for NetBSD, while Sun's JDK is used trought linux emulation
(and the plugin is no exception).

If you want to use java in you browser, you should try opera or linux's
netscape...

Although, JDK can be built on freebsd with several patches that are
beeing written... maybe somebody will make changes also to get it
working on netbsd :)

HTH

On Mon, Apr 08, 2002 at 02:07:34PM -0700, thisplanetsux wrote:
> I can not seem to get the Java plugin working under Mozilla.  Per
> the Mozilla FAQ, I have created a symlink from the java plugin module to
> the Mozilla plugin directory:
>=20
> dhcp-109-67% ls -al /usr/pkg/java/jre/plugin/i386/ns600/*
> -rwxr-xr-x  1 root  wheel  350866 Feb 20 14:59
> /usr/pkg/java/jre/plugin/i386/ns600/libjavaplugin_oji.so=20
> dhcp-109-67% ls -al /usr/X11R6/lib/mozilla/plugins=20
> dr-xr-xr-x  2 root  wheel    512 Apr  8 12:33 .
> dr-xr-xr-x  9 root  wheel   1536 Mar 15 16:20 ..
> lrwxr-xr-x  1 root  wheel     56 Apr  8 12:33 libjavaplugin_oji.so ->
>  /usr/pkg/java/jre/plugin/i386/ns600/libjavaplugin_oji.so
> -r-xr-xr-x  1 root  wheel  17048 Mar 15 16:19 libnullplugin.so
>=20
> But when I start Mozilla, it fails to load the plugin:
>=20
> dhcp-109-67% mozilla &
> [2] 20684
> dhcp-109-67% LoadPlugin: failed to initialize shared library
> /usr/pkg/java/jre1.3.1_03/plugin/i386/ns600/libjavaplugin_oji.so [Shared
> object "libnspr4.so" not found]
>=20
> This "libnspr4.so" files exists in the Mozilla lib directory:
>=20
> dhcp-109-67% ls -al /usr/X11R6/lib/mozilla/libnspr4.so
> -r-xr-xr-x  1 root  wheel  185348 Mar 15 16:19
>  /usr/X11R6/lib/mozilla/libnspr4.so
>=20
> Has anyone gotten this Java plugin to work?  Any suggestions to work
> around this problem or flat out fix it? =20
>=20
> FYI, I'm on NetBSD-i386 v1.5.2 and have the Sun_JDK_1.3.1 and Mozilla
> 0.9.9 installed right out of the most current pkgsrc.
>=20
> Thanks in advance!

--=20
Of course it runs NetBSD - http://www.netbsd.org
Julio Merino <jmmv@hispabsd.org>

--tThc/1wpZn/ma/RB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8sgvCzz00ZOPKycwRAq51AJ4qoJ5ieT+dT1MjcYOxRC94NgKM4gCfb9Wn
0BGvS9HTxky/tyL2cq0wnEw=
=AX2b
-----END PGP SIGNATURE-----

--tThc/1wpZn/ma/RB--