Date: Wed, 16 Oct 2002 22:30:02 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@FreeBSD.ORG Subject: Re: Help me with building JDK1.3.1 (strange error with BOOTDIR variable) Message-ID: <20021016213002.GA84463@happy-idiot-talk.infracaninophi> In-Reply-To: <20021016224757.J71688-100000@lion.com.ua> References: <20021016143339.GA74784@happy-idiot-talk.infracaninophi> <20021016224757.J71688-100000@lion.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021016213002.GA84463>