From owner-freebsd-java Mon Jan 22 15:32:59 2001 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 67F3037B6B8 for ; Mon, 22 Jan 2001 15:32:40 -0800 (PST) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id KAA61897; Tue, 23 Jan 2001 10:01:46 +1030 (CST) (envelope-from glewis) Date: Tue, 23 Jan 2001 10:01:46 +1030 From: Greg Lewis To: "Koster, K.J." Cc: "'Alexey Tazov'" , "'FreeBSD Java mailing list'" Subject: Re: Error while trying to build JDK 1.2.2 Message-ID: <20010123100146.A61739@ares.trc.adelaide.edu.au> References: <59063B5B4D98D311BC0D0001FA7E4522026D7B3A@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D7B3A@l04.research.kpn.com>; from K.J.Koster@kpn.com on Mon, Jan 22, 2001 at 01:34:27PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Jan 22, 2001 at 01:34:27PM +0100, Koster, K.J. wrote: > > > > Linux emu is enabled. > > > > > > > What's the output of "/usr/local/linux-jdk1.2.2/bin/java > > > -version"? > > > > --- Begin --- > > > > ./java: /usr/bin/expr: not found > > ./java: /usr/bin/expr: not found The linux jdk hasn't been installed using the port. If it had, then the patch: --- bin/.java_wrapper.orig Mon Dec 6 14:12:44 1999 +++ bin/.java_wrapper Sat Jan 29 14:20:21 2000 @@ -32,8 +32,8 @@ # Resolve symlinks. See 4152645. while [ -L "$PRG" ]; do ls=`/bin/ls -ld "$PRG"` - link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'` - if /usr/bin/expr "$link" : '/' > /dev/null; then + link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'` + if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then PRG="$link" else PRG="`/usr/bin/dirname $PRG`/$link" @@ -65,7 +65,7 @@ # Select vm type (if classic vm, also select thread type). unset vmtype unset ttype -DEFAULT_THREADS_FLAG=native +DEFAULT_THREADS_FLAG=green if [ "x$1" = "x-hotspot" ]; then vmtype=hotspot ttype=native_threads would have been applied and these messages wouldn't have been showing up. - Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message