On Wed, Oct 16, 2002 at 10:55:17PM +0300, Andrey Simonenko wrote:
> Thanks, I'll try this (I've just started to download linux-sun-jdk13 from
> Sun). Actually I want to install Java plugin for Mozilla (compiled for
> FreeBSD), as I understand I try to install correct port for this, isn't
> it? What are the better arguments for "make" utility for jdk13 port if I
> want to build Java plugin for Mizlla?
Yes, the native jdk-1.3.1 port includes the java plugin for Mozilla:
happy-idiot-talk:/usr/ports:% pkg_info -L jdk-1.3.1p7 | grep javaplugin
/usr/local/jdk1.3.1/jre/lib/i386/libjavaplugin_jni.so
/usr/local/jdk1.3.1/jre/lib/i386/libjavaplugin_jni_g.so
/usr/local/jdk1.3.1/jre/lib/javaplugin.jar
/usr/local/jdk1.3.1/jre/plugin/i386/ns4/javaplugin.so
/usr/local/jdk1.3.1/jre/plugin/i386/ns4/javaplugin_g.so
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji_g.so
You don't need to do anything special when building the JDK --- the
java plugin gets built by default. You can turn off building the
plugin by:
make -DWITHOUT_PLUGIN
You'll need to create a symbolic link as instructed at the end of the
install process so that mozilla can find the plugin:
ln -s /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so \
/usr/X11R6/lib/mozilla/plugins/
(or mozilla-devel if that's the mozilla port you've installed).
Remember to enable java from the preferences panel in Mozilla. Then
to test that everything works, try
http://games.yahoo.com/games/downloads/dm.html (ignore the warnings
about incompatibility with unix/Mac, they're out of date) or
http://www.netspace.net.au/~gregegan/APPLETS/Applets.html.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message