Subject: Re: JRE in "linux-compat" mode [was: Somewhat disappointed NetBSD newbie]
To: None <current-users@NetBSD.org>
From: J Chapman Flack <firstname.lastname@example.org>
Date: 04/02/2005 11:16:34
Zbigniew Baniewski wrote:
> I'm trying to do the same with Opera now. Installation of "flash" plugin
> wasn't a problem (just 2 files) - but there's a problem with that java
> plugin (trying JRE 1.4.2 - Opera doesn't accept 1.5).
> Could you be more specific - how did you add the java support in Mozilla?
Sure - it did take a small amount of exploring. I did
pkg_info -L sun-jre\* | less
to look at the list of files included in the JRE, and within less I searched
for .so and found several different libjavaplugin_*.so files in lib/i386/
and also in plugin/i386.
The fastest way to find out which was the right one to use with mozilla-linux
was to google for java 1.5 plugin mozilla linux, and within the first few hits
I found the answer. For the mozilla-linux browser the proper plugin file was
plugin/i386/ns7/libjavaplugin_oji.so and I made a symlink to that file in
/usr/pkg/lib/mozilla-linux/plugins. That was all it took, I restarted
mozilla and java worked.
So, the main thing is to find out which plugin .so is proper for your
browser, and what directory your browser uses for plugins so you can make
the symlink there.