From owner-freebsd-stable Sat Apr 13 10:59:46 2002 Delivered-To: freebsd-stable@freebsd.org Received: from titus.lastamericanempire.com (dsl081-101-239.den1.dsl.speakeasy.net [64.81.101.239]) by hub.freebsd.org (Postfix) with ESMTP id AF69737B400; Sat, 13 Apr 2002 10:59:39 -0700 (PDT) Received: by titus.lastamericanempire.com (Postfix, from userid 1000) id B382520F6A; Sat, 13 Apr 2002 12:07:33 -0600 (MDT) Date: Sat, 13 Apr 2002 12:07:33 -0600 From: Zach Thompson To: Greg Lewis Cc: jbw , stable@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: Mozilla & Java Message-ID: <20020413120733.A27880@lastamericanempire.com> References: <20020413084345.A50263@arem.peritian.com> <20020414015727.A70926@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020414015727.A70926@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Sun, Apr 14, 2002 at 01:57:27AM +0930 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Greg Lewis [020413 10:35]: > On Sat, Apr 13, 2002 at 08:43:45AM -0400, jbw wrote: > > I'm trying to install java so that use it with Mozilla. I get the > > following error message when trying to install the jdk13 port. > > > > Patching file j2sdk1.3.1/src/solaris/native/sun/awt/robot_child/robot_proc.c using Plan A... > > Hunk #1 succeeded at 25. > > done > > ===> Applying FreeBSD patches for jdk-1.3.1p6_3 > > ===> Configuring for jdk-1.3.1p6_3 > > ===> Building for jdk-1.3.1p6_3 > > i386 Build started: 1.3.1-p6-root-020413-08:36 > > ERROR: BOOTDIR does not point to a valid Java 2 SDK > > Check that you have access to > > /usr/local/linux-jdk1.3.1/bin/java > > and/or check your value of ALT_BOOTDIR. > > > > Exiting because of the above error(s). > > gmake: *** [sanity] Error 1 > > You need to have the linux-jdk13 port installed and linux emulation > enabled. > > > What do I need to do have this install correctly? Out of curiousity since I was having this same problem all morning and no matter what I set BOOTDIR/ALT_BOOTDIR to it gave the same error. I have both the linux-jdk13 port installed and emulation enable. I even re-installed linux-jdk13 as someone had mentioned that it might be a botched intall. Still no go. I read a post in the java list archives about it being a problem that /usr/local/linux-jdk1.3.1/bin/java was a directory and that this error was resolved by linking it to .java_wrapper. So I decided to try it and it *seemed* to have built fine. The steps I followed were: cd /usr/local/linux-jdk1.3.1/bin rm -r java ln -s .java_wrapper java Then make install clean. I don't know if this is the *correct* way around the error or not but I'm done playing with this port. Zach To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message