Subject: Re: how to run a java-enabled mozilla on netbsd
To: Friedrich Ensslin <friedrich.ensslin@web.de>
From: Rasputin <rasputin@idoru.mine.nu>
List: netbsd-help
Date: 10/30/2002 13:50:43
* Friedrich Ensslin <friedrich.ensslin@web.de> [1035 22:35]:
> Hi,
> 
> I'm running 1.6 on an i386 platform.
> What I need, is a www-browser w. full java support (Netscape / Mozilla style preferred). 
> Netscape 4.x gave me the well-known hang-up effect when loading applets. 
> Some trying and googling gave me the impression, that also the NetBSD-native mozilla 1.0.1 isn't able to run java applets. Am I right ?

True - there isn't a native JVM to run the plugin with.


> So, I found some pointers telling me to use the linux version of mozilla, run it in emul/linux and install  its java engine. Could this lead to success ?

Works for me :) Faster load time than our native one, and more plugins too...

Just install linux compatibility (COMPAT_LINUX in kernel, install linux_base
packages, etc). If you install Suns JRE/JDK 1.3 from pkgsrc that should add
the required bits. You need it for the plugin anyway.

Then just get the latest installer from mozilla.org and run it.
Once it's installed, cd into plugins/ and make the following symlink:

libjava_plugin_oji.so ->
/usr/pkg/java/sun-1.3.1/plugin/i386/ns600/libjavaplugin_oji.so

Fire it up, that should work. i386 only, but then so's Java, pretty much...
-- 
Rasputin :: Jack of All Trades - Master of Nuns