From owner-freebsd-questions@FreeBSD.ORG Thu Mar 6 17:20:42 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C8811065673 for ; Thu, 6 Mar 2008 17:20:42 +0000 (UTC) (envelope-from freebsd@insightbb.com) Received: from mxsf03.insightbb.com (mxsf03.insightbb.com [74.128.0.64]) by mx1.freebsd.org (Postfix) with ESMTP id 599688FC18 for ; Thu, 6 Mar 2008 17:20:42 +0000 (UTC) (envelope-from freebsd@insightbb.com) X-IronPort-AV: E=Sophos;i="4.25,457,1199682000"; d="scan'208";a="244455715" Received: from unknown (HELO asav01.insightbb.com) ([172.31.249.124]) by mxsf03.insightbb.com with ESMTP; 06 Mar 2008 12:20:40 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAES3z0fQLicL/2dsb2JhbAAIrEU X-IronPort-AV: E=Sophos;i="4.25,457,1199682000"; d="scan'208";a="121263324" Received: from 208-46-39-11.dia.static.qwest.net (HELO [10.7.44.13]) ([208.46.39.11]) by asavout01.insightbb.com with ESMTP; 06 Mar 2008 12:20:37 -0500 From: Steven Friedrich To: Kris Kennaway Date: Thu, 6 Mar 2008 12:19:51 -0500 User-Agent: KMail/1.9.7 References: <200803052205.34227.freebsd@insightbb.com> <20080306064252.GA10867@osiris.chen.org.nz> <47CFCA7D.5020305@FreeBSD.org> In-Reply-To: <47CFCA7D.5020305@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803061219.52023.freebsd@insightbb.com> Cc: questions@freebsd.org, Jonathan Chen Subject: Re: Which jdk port should I use? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2008 17:20:42 -0000 On Thursday 06 March 2008 05:42:05 am Kris Kennaway wrote: > Jonathan Chen wrote: > > On Wed, Mar 05, 2008 at 10:05:34PM -0500, Steven Friedrich wrote: > >> I have two installed: > >> diablo-jdk-1.5.0.07.01_9 > >> jdk-1.5.0.14p8,1 > > > > The native JDK is the one to use in most cases; eg: if you're > > running FreeBSD-7, eclipse won't work properly unless you're using the > > native jdk. > > I assume you mean "native" in the sense of "compiled for FreeBSD 7 > instead of FreeBSD 6". They are both native FreeBSD binaries :-) > > But yes, you should be using the self-compiled jdk on FreeBSD 7 for > other reasons: it has better performance. Once a 7.x build of diablo is > released you can switch to that. > > Kris Ok, so I pkg_deinstall diablo-jdk and tried to install jdk15. It errors out (I had previously had installed this long ago and didn't have any problems tracking it with csup/portupgrade). WARNING: Your are not building SPONSORS workspace from the control build. This will result in a development-only build of the J2SE workspace, lacking the installation bundles WARNING: Your FreeBSD installation is not valid for building a the J2SDK. You must be using FreeBSD 4.1[01]|5.[345]|6.*. Your release is 7.0-RELEASE ERROR: BOOTDIR does not point to a valid Java 2 SDK Check that you have access to /usr/local/diablo-jdk1.5.0/bin/java and/or check your value of ALT_BOOTDIR. Exiting because of the above error(s). gmake: *** [post-sanity] Error 1 *** Error code 2 Stop in /usr/ports/java/jdk15. And why does it reference diablo?