From owner-freebsd-java@FreeBSD.ORG Sun Nov 21 12:49:10 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C118E16A4CE for ; Sun, 21 Nov 2004 12:49:10 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (imap.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B944643D53 for ; Sun, 21 Nov 2004 12:49:09 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) iALCn3Cp048383 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 Nov 2004 12:49:03 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)iALCn3Gw048382; Sun, 21 Nov 2004 12:49:03 GMT (envelope-from matthew) Date: Sun, 21 Nov 2004 12:49:03 +0000 From: Matthew Seaman To: Ganbold Message-ID: <20041121124903.GA47942@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Ganbold , freebsd-java@freebsd.org References: <6.2.0.14.2.20041121193926.03057100@202.179.0.80> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <6.2.0.14.2.20041121193926.03057100@202.179.0.80> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 21 Nov 2004 12:49:04 +0000 (GMT) X-Virus-Scanned: ClamAV 0.80/596/Sat Nov 20 10:53:39 2004 clamav-milter version 0.80j on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL autolearn=ham version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-java@freebsd.org Subject: Re: building jdk1.4 natively on FreeBSD 5.3 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2004 12:49:11 -0000 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 21, 2004 at 07:47:00PM +0800, Ganbold wrote: > I would like to install jdk1.4 natively on FreeBSD 5.3. > I know there is a way to install jdk1.4 on FreeBSD using linux emulation= =20 > and linux procfs and I installed jdk1.4 before in such way. > Right now I would like to install jdk1.4 natively on FreeBSD 5.3 without= =20 > any linux emulation. > How can I build jdk1.4 natively? Is it possible? > If it is not possible, is there any plan to make native port of jdk1.4 or= =20 > jdk1.5 soon? In order to build JDK 1.4.2 you need a working JDK 1.4.x to compile everything. As things stand, that means at some point you have to use a Linux JDK to do an initial compilation. Once you've compiled the JDK one time using the Linux emulation, you can discard the linux bits and use your native JDK to compile any updates -- in fact, the java/jdk14 port will automatically use a preexisting native JDK 1.4.x in preference to a linux one. You can also take an installed native JDK 1.4.2 and create a package out of it -- read about the '-b' option in pkg_create(1), which you can then copy onto another system and install there. Note that you can only do this to install a native JDK *on your own systems*. Be careful however, as the terms of the Sun Community Source License are very strict about not permitting redistribution. Making a native port requires negotiating a license with Sun before it would be legal to distribute the port. That means getting the port to a state where it can formally pass Sun's compliance tests (which I think the java/jdk14 port can do at the moment), and then getting the lawyers to argue over the details. All that costs money -- penny-ante stuff for most corporations, but a significant burden for a volunteer project like FreeBSD. ie. Needs a donor with deep pockets. A java/jdk15 port couldn't be created until JDK 5.0[1] was released under the SCSL (or another more userfriendly license as is consistently rumoured to be about to happen). JDK 5.0 is now available (as of this month) under the SCSL or the JRL (Java Research License) -- so I guess there are a few FreeBSD developers busily working on making it compile and run under FreeBSD. That's not a trivial task, and you'll just have to wait until they have something in good enough shape to release. From just a cursory reading, the JRL seems to me to be slightly more friendly than the SCSL for individual or academic use, and can permit redistribution in binary format given that all users agree to abide by the terms of the JRL. Cheers, Matthew [1] Would anyone within reach please smack Sun's marketing department for interfering with the version numbering please? --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBoI6/iD657aJF7eIRAkmtAKCBaevedbUlG+Q4J5JJG4s6KLrCVgCeKphu OLq0gJx9SOhFi7iLANBKP5M= =ddy8 -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga--