From owner-freebsd-questions Wed Oct 16 14:30:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E8C037B406 for ; Wed, 16 Oct 2002 14:30:12 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A3C043E3B for ; Wed, 16 Oct 2002 14:30:09 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g9GLU7Kg084707 for ; Wed, 16 Oct 2002 22:30:07 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id g9GLU2J1084702 for freebsd-questions@FreeBSD.ORG; Wed, 16 Oct 2002 22:30:02 +0100 (BST) Date: Wed, 16 Oct 2002 22:30:02 +0100 From: Matthew Seaman 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> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <20021016143339.GA74784@happy-idiot-talk.infracaninophi> <20021016224757.J71688-100000@lion.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021016224757.J71688-100000@lion.com.ua> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-14.1 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_01_02, USER_AGENT,USER_AGENT_MUTT version=2.41 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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