From owner-freebsd-questions@FreeBSD.ORG Sun May 9 20:51:31 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 AE2EC16A4CF for ; Sun, 9 May 2004 20:51:31 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BF3F43D46 for ; Sun, 9 May 2004 20:51:31 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i4A3pT5U011880; Sun, 9 May 2004 22:51:29 -0500 (CDT) (envelope-from dan) Date: Sun, 9 May 2004 22:51:29 -0500 From: Dan Nelson To: Adam Smith Message-ID: <20040510035129.GC65187@dan.emsphone.com> References: <20040510034036.GB26370@internode.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040510034036.GB26370@internode.com.au> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: JDK14 for FreeBSD 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: Mon, 10 May 2004 03:51:31 -0000 In the last episode (May 10), Adam Smith said: > I thought that last year FreeBSD finally got it's own version of JDK > which stopped us having to rely on using the Linux version. There is a native FreeBSD binary jdk 1.3.1, but jdk 1.4 requires an existing 1.4 java install to build, so it can't be used. > Why, when choosing to install jdk14 from the ports, am I asked to install > the Linux version first? I thought it was supposed to be stand alone. > > ===> jdk-1.4.2p6_4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - not found > ===> Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac in /usr/ports/java/linux-sun-jdk14 > ===> linux-sun-jdk-1.4.2.04 You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_04-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-1.4.2_04-oth-JPR&SiteId=JSC&TransactionId=noreg, place it in /usr/ports/distfiles and then run make again. > *** Error code 1 > > Should I continue from here and download the Linux version? What's it for > when it comes to installing FreeBSD's java? It's for the initial build. Once the native binary is installed, you can uninstall the linux one. -- Dan Nelson dnelson@allantgroup.com