From owner-freebsd-questions@FreeBSD.ORG Fri Jul 30 10:10:02 2004 Return-Path: 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 26FAF16A4CE for ; Fri, 30 Jul 2004 10:10:02 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 600CC43D45 for ; Fri, 30 Jul 2004 10:10:01 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i6UA9vPv003064 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 30 Jul 2004 11:09:57 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i6UA9sNh003059; Fri, 30 Jul 2004 11:09:54 +0100 (BST) (envelope-from matthew) Date: Fri, 30 Jul 2004 11:09:54 +0100 From: Matthew Seaman To: Peter Ryan Message-ID: <20040730100954.GC1956@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Peter Ryan , FreeBSD References: <1091156423.4109b9c733864@flounder.singnet.com.sg> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GPJrCs/72TxItFYR" Content-Disposition: inline In-Reply-To: <1091156423.4109b9c733864@flounder.singnet.com.sg> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Fri, 30 Jul 2004 11:09:57 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: FreeBSD Subject: Re: java jdk14 install - cannot find file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2004 10:10:02 -0000 --GPJrCs/72TxItFYR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 30, 2004 at 11:00:23AM +0800, Peter Ryan wrote: > as part of the jdk14 install, i have to > download the file j2sdk-1_4_2_04-linux-i586.bin > from the sun web site and put it into the > /usr/ports/distfiles folder. > I did that - no problem. > I can see the file listed in the right place. >=20 > When i do the "Make", it aborts with an error. > It cannot find the file I just downloaded. The distfiles the java/jdk14 port is looking for are: % make -V DISTFILES j2sdk-1_4_2-src-scsl.zip j2sdk-1_4_2-bin-scsl.zip bsd-jdk14-patches-6.t= ar.gz The first two of those should come from Sun's website, and the third =66rom the eyesbeyond.com site. What you've got is the distfile for the java/linux-sun-jdk14 port, which is required to bootstrap building the native java/jdk14 port. (You only need the java/linux-sun-jdk14 port the first time you build java/jdk14: after that you can use it to rebuild itself: just set NATIVE_BOOTSTRAP=3Dyes in the make(1) argument list) Actually, you haven't got quite the right distfile even now. It should be: % make -V DISTFILES j2sdk-1_4_2_05-linux-i586.bin (ie Patch level 05 rather than 04). Re-cvsup to make sure your ports tree is up to date, then: # cd /usr/ports/java/linux-sun-jdk14 # make install Assuming you'ld already got linux compatability mode enabled -- if you didn't before, it will be installed as a dependency. You may well need to reboot around this point to get that working properly. # cd ../jdk14 # make install and follow the instructions it prints out about how to get hold of the source code. Once you've got the native JDK installed, you can, if you wish, delete linux-sun-jdk14, but having it installed does no real harm other than taking up diskspace. Yes, it is inordinately complicated to install a native JDK from source. Blame Sun -- it's their licensing restrictions that mean this whole rigmarole is required. Cheers, Matthew --=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 --GPJrCs/72TxItFYR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBCh5yiD657aJF7eIRAtu9AKCuA8a1DhGCNVdlSrqrwJPB5rJJLgCeInYo 22vgETk/eBfTTVk0qBhI+r8= =VRDy -----END PGP SIGNATURE----- --GPJrCs/72TxItFYR--