Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2000 13:01:16 +0100
From:      Ernst de Haan <ernst@jollem.com>
To:        Martin Dieringer <dieringe@physik.fu-berlin.de>
Cc:        Nicholas Wright <nick@ist.co.uk>, lodea@vet.com.au, freebsd-java@FreeBSD.ORG
Subject:   Re: Sun JDK 1.2.2 _Final_ for Linux
Message-ID:  <38A9400C.9A0CA779@jollem.com>
References:  <Pine.OSF.4.10.10002151155130.16961-100000@sirius.physik.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------960E955D0BEC35ED87719A18
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Martin,

I'm afraid your patch doesnt help. I still get:

   bash-2.03$ java -version
   /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found
   /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found
   Error: can't find libjava.so.
   bash-2.03$

And:

   DEFAULT_THREADS_FLAG=green

didn't have to be changed, it was already enabled.

Ernst


Martin Dieringer wrote:
> 
> 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
--------------960E955D0BEC35ED87719A18
Content-Type: text/x-vcard; charset=us-ascii;
 name="ernst.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Ernst de Haan
Content-Disposition: attachment;
 filename="ernst.vcf"

begin:vcard 
n:de Haan;Ernst
tel;fax:+31 (0)26 3645634
tel;work:+31 (0)26 3623895
x-mozilla-html:FALSE
url:http://www.znerd.demon.nl/
org:Jollem
adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands
version:2.1
email;internet:ernst@jollem.com
title:Java Architect
fn:Ernst de Haan
end:vcard

--------------960E955D0BEC35ED87719A18--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38A9400C.9A0CA779>