Galeon fails to find Java

Joe Marcus Clarke marcus at marcuscom.com
Tue Feb 17 11:52:56 PST 2004


On Tue, 2004-02-17 at 14:42, Kevin Oberman wrote:
> > From: Joe Marcus Clarke <marcus at marcuscom.com>
> > Date: Tue, 17 Feb 2004 01:59:30 -0500
> > 
> > 
> > --=-oBwKsJ5Dcny+iKyWfWNT
> > Content-Type: text/plain
> > Content-Transfer-Encoding: quoted-printable
> > 
> > On Tue, 2004-02-17 at 00:58, Adam Weinberger wrote:
> > > >> (02.16.2004 @ 2301 PST): Joe Marcus Clarke said, in 1.6K: <<
> > > > On Sun, 2004-02-15 at 22:42, Kevin Oberman wrote:
> > > > > Since my recent update of ports I no longer seem to have Java plugins=
> >  in
> > > > > Galeon.
> > > > >=20
> > > > > I have the following Java ports installed:
> > > > > jdk-1.4.2p6_3              =20
> > > > > linux-sun-jdk-1.3.1.10    =20
> > > > > linux-sun-jdk-1.4.2.03
> > > > >=20
> > > > > But, when I run a freshly built galeon-1.3.12, I only see the falsh/s=
> > hockwave
> > > > > plugins and all web pages using Java ask me about downloading the
> > > > > plugin.
> > > > >=20
> > > > > Am I missing something obvious? Do I need to back down to jdk-1.3? I =
> > get
> > > > > no Java releated errors when I start galeon, so I am baffled as to wh=
> > ere
> > > > > to look.
> > > >=20
> > > > I noticed my Java recently broke because of the gettext thing.  Updatin=
> > g
> > > > it so that it depended on libintl.so.6 fixed the problem.  I was using
> > > > 1.3.1, however.  My 1.4.2 plug-in works out of the box in Galeon,
> > > > though.  I did notice that building the JDK with debugging support
> > > > breaks the plug-in, but it doesn't look like you've done that.  From
> > > > Galeon's Help->About Plugins:
> > > >=20
> > > > Java(TM) Plug-in 1.4.2-p5-marcus_27_nov_2003_16_25
> > > >=20
> > > >         File name: libjavaplugin_oji.so
> > > >         Java(TM) Plug-in 1.4.2
> > > >> end of "Re: Galeon fails to find Java" from Joe Marcus Clarke <<
> > >=20
> > > I rebuilt jdk14 about 2 days ago, and libjavaplugin_oji.so was not
> > > installed.
> > 
> > The plugin will be built unless MINIMAL is defined.  It will be
> > installed as:
> > 
> > /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so
> 
> I have /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so,
> so that does not appear to be the issue. Is there code in the galeon or
> mozilla source to make it look in
> /usr/local/jdk1.4.2/jre/plugin/i386/ns610 for the plugin? That seems an
> odd and ever changing location.

No, the Mozilla port should create a symlink from the /usr/local place
to /usr/X11R6/lib/browser_plugins.  This is only done if the plug-in was
installed when you installed Mozilla.

> 
> The latest Galeon (1.3.13) does nor seem to load it. No errors at
> all. Just no plugins. I have the feeling that I'm doing something really
> DUMB, but I can't seem to get a clue as to what.

Check that you have /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so,
and that it points to the correct place.  Then do an ldd
/usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so to make
sure all the libs are found.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040217/741442e3/attachment.bin


More information about the freebsd-gnome mailing list