From owner-freebsd-questions@FreeBSD.ORG Sun Feb 5 19:46:52 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 9705716A420 for ; Sun, 5 Feb 2006 19:46:52 +0000 (GMT) (envelope-from listmail@Bomgardner.net) Received: from brightstar.bomgardner.net (brightstar.bomgardner.net [209.240.79.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 428A543D45 for ; Sun, 5 Feb 2006 19:46:52 +0000 (GMT) (envelope-from listmail@Bomgardner.net) Received: from [192.168.0.2] (morningstar [192.168.0.2]) by brightstar.bomgardner.net (Postfix) with ESMTP id 2B78C21D6D0 for ; Sun, 5 Feb 2006 13:47:37 -0600 (CST) Message-ID: <43E6560C.1070207@Bomgardner.net> Date: Sun, 05 Feb 2006 13:46:20 -0600 From: Gene User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: "freebsd-questions@FreeBSD. ORG" X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Apparant java catch-22 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: Sun, 05 Feb 2006 19:46:52 -0000 I've been trying to get java installed for some months now and I can't get past the point shown below. It seems that the port is looking for an already installed version of java. I've looked at various how-tos, and the java pages at freebsd.org, but no help. Is there some way around this catch-22? Thanks # make===> Building for jdk-1.4.2p7 # Start of jdk build bsd i586 1.4.2-p7 build started: 06-02-05 13:33 ..... %>< snip WARNING: Your build environment has the variable DEV_ONLY defined. This will result in a development-only build of the J2SE workspace, lacking the documentation build and installation bundles. ERROR: Your JAVAWS_BOOTDIR environment variable does not point to a valid Java 2 SDK for bootstrapping this build. A Java 2 SDK 1.4 build must be bootstrapped using J2SDK 1.4.0 fcs (or later). Apparently, your bootstrap JDK is version Please update your ALT_JAVAWS_BOOTDIR setting and start your build again. ERROR: Your BOOTDIR environment variable does not point to a valid Java 2 SDK for bootstrapping this build. A Java 2 SDK 1.4.2 build must be bootstrapped using J2SDK 1.4.1 fcs (or later). Apparently, your bootstrap JDK is version Please update your ALT_BOOTDIR setting and start your build again. Exiting because of the above error(s). gmake: *** [post-sanity] Error 1 *** Error code 2 Stop in /usr/ports/java/jdk14.