From owner-freebsd-questions@FreeBSD.ORG Thu Dec 9 04:51:05 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 442B516A4CE for ; Thu, 9 Dec 2004 04:51:05 +0000 (GMT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05FE543D39 for ; Thu, 9 Dec 2004 04:51:05 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 8989CC275; Thu, 9 Dec 2004 17:51:03 +1300 (NZDT) Date: Thu, 9 Dec 2004 17:51:03 +1300 From: Jonathan Chen To: Tabor Kelly Message-ID: <20041209045103.GC47780@grimoire.chen.org.nz> References: <41B7BEEE.2000601@taborandtashell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41B7BEEE.2000601@taborandtashell.net> User-Agent: Mutt/1.4.2.1i cc: FreeBSD Questions Subject: Re: Native Java JDK vs. Linux Java JDK via emulation 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: Thu, 09 Dec 2004 04:51:05 -0000 On Wed, Dec 08, 2004 at 06:56:46PM -0800, Tabor Kelly wrote: [...] > What is the difference between the Native Java JDK (java/jdk14), and the > linux one (java/linux-sun-jdk14), besides the obvious fact that > java/linux-sun-jdk14 is officially sanctioned by Sun? The native version works a lot better than the Linux version under FreeBSD. Quite a few of the bigger Java projects will fail to run correctly on the Linux version. > Also, if java/jdk14 is a native binary build of Java, why does it > require java/linux-sun-jdk14? The build of the native jdk14 requires a boot-strap Java-compiler, the one most readily available being the linux-sun-jdk14 version. Once the Native JDK14 is installed the Linux one can be removed. Updates to the native JDK can use the installed Native JDK as its boot-strap compiler. > Finally, a more general question: why do ports require specific versions > of java? For example: The OpenOffice port requires java/jdk-1.4.2p6_7, > shouldn't any vendor's copy of version 1.4 of the JDK work? You'll have to ask the OpenOffice maintainers about this one. -- Jonathan Chen ---------------------------------------------------------------------- Experience is a hard teacher because she gives the test first, the lesson afterwards