From owner-freebsd-java@FreeBSD.ORG Thu Aug 13 07:54:47 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2902A106564A for ; Thu, 13 Aug 2009 07:54:47 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail02.adl6.internode.on.net (ipmail02.adl6.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id 98E188FC44 for ; Thu, 13 Aug 2009 07:54:45 +0000 (UTC) Received: from ppp103-111.static.internode.on.net (HELO [192.168.1.144]) ([150.101.103.111]) by ipmail02.adl6.internode.on.net with ESMTP; 13 Aug 2009 17:08:29 +0930 From: Wayne Sierke To: Malcolm Kay In-Reply-To: <200908131302.06949.malcolm.kay@internode.on.net> References: <200908131302.06949.malcolm.kay@internode.on.net> Content-Type: text/plain Date: Thu, 13 Aug 2009 17:08:22 +0930 Message-Id: <1250149102.63923.1169.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: Why diablo-jdk? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2009 07:54:47 -0000 On Thu, 2009-08-13 at 13:02 +0930, Malcolm Kay wrote: > It seems that many (if not most) posts to this list concern the > Diablo version of jdk. > > Is there some particular merit in using this in preference to the > regular FreeBSD port -- say jdk16? > > > Your comment is welcome, > Malcolm I've been meaning to pose a related question. Why is it that in /usr/ports/Mk/bsd.java.Mk java/diablo-jdk15 is preferred over java/jdk16? In fact the order of preference seems to be: diablo-jdk16, diablo-jdk15, openjdk6 then jdk16 ... I alluded to this curiosity in my recent post to freebsd-eclipse@ "java process doesn't terminate after exiting eclipse". With the two aforementioned java ports installed then by default: %java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01) Java HotSpot(TM) Server VM (build diablo-1.5.0_07-b01, mixed mode) and I must set JAVA_HOME or, as I have now done, add to /etc/make.conf: JAVA_PREFERRED_PORTS?= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_6 to get java/jdk16. Using textproc/fop recently with both port versions I've noticed that fop generally runs around 25% faster with java/jdk16. I also seem to recall having read statements to the effect that the java/diablo-jdk ports are "less functional" than the java/jdk ports making the preference given to the former all the more curious. Wayne