From owner-freebsd-java@FreeBSD.ORG Tue May 6 03:47:03 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C965106566C for ; Tue, 6 May 2008 03:47:03 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id A76C38FC1A for ; Tue, 6 May 2008 03:47:02 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id m463l00S068344; Mon, 5 May 2008 20:47:00 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id m463kxcp068343; Mon, 5 May 2008 20:46:59 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 5 May 2008 20:46:57 -0700 From: Greg Lewis To: "Chad Leigh -- Shire.Net LLC" Message-ID: <20080506034657.GA68296@misty.eyesbeyond.com> References: <20080414120018.E732B106567F@hub.freebsd.org> <200804140931.22851@aldan> <20080422233458.GA81527@pencil.math.missouri.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: java@freebsd.org Subject: Re: error building java/jdk15 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: Tue, 06 May 2008 03:47:03 -0000 On Mon, May 05, 2008 at 12:40:57PM -0600, Chad Leigh -- Shire.Net LLC wrote: > I am having a similar problem > > /usr/local/linux-sun-jdk1.4.2/bin/javac -d /usr/ports/java/jdk15/work/ > control/build/bsd-i586/lib -target 1.5 ../../tools/sharing/AddJsum.java > javac: invalid target release: 1.5 That looks like a legitimate error. Possibly more recent updates of 1.5.0 are no unbuildable with 1.4 as the bootstrap? I expect this will work if you force bootstrapping with 1.5 or better. > So I installed the 1.5 diablo stuff but I am not sure how to make the > 1.5 jdk build use that instead of the listed linux sun 1.4.2 version > (and why it would use the sun linux 1.4.2 instead of the fbsd 1.4.2. > already installed as well; not that that would fix the problem) > > What do I need to do to make my 1.5jdk build use the diablo one? Unless you have WITH_LINUX_BOOTSTRAP defined it should use Diablo automatically. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org