From owner-freebsd-questions Wed Oct 16 7:33:58 2002 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 BF90937B401 for ; Wed, 16 Oct 2002 07:33:56 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0D3343E8A for ; Wed, 16 Oct 2002 07:33:55 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g9GEXiKg074844; Wed, 16 Oct 2002 15:33:44 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id g9GEXdlO074843; Wed, 16 Oct 2002 15:33:39 +0100 (BST) Date: Wed, 16 Oct 2002 15:33:39 +0100 From: Matthew Seaman To: Andrey Simonenko Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Help me with building JDK1.3.1 (strange error with BOOTDIR variable) Message-ID: <20021016143339.GA74784@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , Andrey Simonenko , freebsd-questions@FreeBSD.ORG References: <20021016171117.T62620-100000@lion.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021016171117.T62620-100000@lion.com.ua> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-13.9 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_03_05, USER_AGENT,USER_AGENT_MUTT version=2.41 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Oct 16, 2002 at 05:16:25PM +0300, Andrey Simonenko wrote: > Hello all, > > Can somebody explaine me what I do wrong when building jdk1.3.1 port on > FreeBSD 4.6-STABLE? > > [root@lion jdk13]# make -DNATIVE_BOOTSTRAP -DNODEBUG build > ===> Building for jdk-nodebug-1.3.1p7 > i386 Build started: 1.3.1-p7-root-021016-17:10 > ERROR: BOOTDIR does not point to a valid Java 2 SDK > Check that you have access to > /usr/local/jdk1.3.1/bin/java > and/or check your value of ALT_BOOTDIR. > > Exiting because of the above error(s). > gmake: *** [sanity] Error 1 > *** Error code 2 > > Stop in /usr/ports/java/jdk13. > > ps: I downloaded JDK sources from Sun and patches as it is said in jdk13 > port. Catch 22: you need an installed and working JDK before you can bottstrap a JDK. I this case, just install one of the linux JDK's --- I think linux-sun-jdk13 is quite popular for this job. Then you can build and install the native JDK, and once that's working OK, you can get rid of the linux JDK. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message