From owner-freebsd-java Tue Feb 15 2:58:41 2000 Delivered-To: freebsd-java@freebsd.org Received: from axp5.physik.fu-berlin.de (axp5.physik.fu-berlin.de [160.45.34.3]) by builder.freebsd.org (Postfix) with ESMTP id 053B14183 for ; Tue, 15 Feb 2000 02:58:38 -0800 (PST) Received: from sirius.physik.fu-berlin.de (sirius.physik.fu-berlin.de [160.45.34.162]) by axp5.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id LAA11187; Tue, 15 Feb 2000 11:58:59 +0100 (MET) Received: from localhost (dieringe@localhost) by sirius.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id LAA06255; Tue, 15 Feb 2000 11:58:58 +0100 (MET) Date: Tue, 15 Feb 2000 11:58:58 +0100 (MET) From: Martin Dieringer To: Ernst de Haan Cc: Nicholas Wright , lodea@vet.com.au, freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux In-Reply-To: <38A92B7F.22445E63@jollem.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org edit bin/.java_wrapper like this: # Resolve symlinks. See 4152645. while [ -h "$PRG" ]; do <<--------- -h instead of -L ls=`/bin/ls -ld "$PRG"` link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'` if /usr/bin/expr "$link" : '\/' > /dev/null; then <<------ backslash! PRG="$link" else PRG="`/usr/bin/dirname $PRG`/$link" fi and, further down: DEFAULT_THREADS_FLAG=green instead of "native" I have the RC4 from blackdown running, with j3d and jbuilder3 working, but the sun-jdk doesn't run at all... martin On Tue, 15 Feb 2000, Ernst de Haan wrote: > Okay, > > I managed to get my fingers under what the Sun java executable actually > tries to do, but I'm no hero with expr, so anyone care to take a look? > > I removed the link at /usr/bin/expr -> /bin/expr en then wrote my own > shell script instead: > > bash-2.03# cat /usr/bin/expr > #!/bin/sh > echo $* |tee `mktemp /tmp/expr.XX` > bash-2.03# > > And this is the first output (or the second)?: > > lrwxr-xr-x 1 root wheel 13 Feb 15 10:46 > /usr/local/sun-linux-jdk1.2.2/bin/java -> .java_wrapper : .*-> \(.*\)$ > > And the second (or the first?): > > lrwxr-xr-x 1 root wheel 13 Feb 15 10:46 > /usr/local/sun-linux-jdk1.2.2/bin/java -> .java_wrapper : .*-> \(.*\)$ : / > > Any ideas? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message