From owner-freebsd-java Tue Feb 15 7:20: 1 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id A4090465A for ; Tue, 15 Feb 2000 07:19:52 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id QAA25396; Tue, 15 Feb 2000 16:19:03 +0100 (MET) Message-ID: <38A96E68.B0D4450D@jollem.com> Date: Tue, 15 Feb 2000 16:19:04 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Martin Dieringer Cc: Nicholas Wright , lodea@vet.com.au, freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux References: Content-Type: multipart/mixed; boundary="------------B46C359FCA6177C3317DCDA2" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------B46C359FCA6177C3317DCDA2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ollrighty then! It seems to work. At least I can execute a java -version now: bash-2.03$ java -version java version "1.2.2" Classic VM (build 1.2.2-L, green threads, nojit) Kewl. I extended my shells scripts so I can now do: bash-2.03$ . jdk11 >> Initializing Java libraries for JDK 1.1 -- Java Development Kit 1.1 -- Swing 1.0.3 -- Java Servlet Development Kit 2.0 -- JavaBeans Activation Framework 1.0.1 -- MySQL mm JDBC Driver 2.0pre4 for JDBC 1.0 -- ObjectStore PSE Pro 3.0 (runtime) -- ObjectStore PSE Pro 3.0 (tools) -- Custom Java libraries bash-2.03$ java -version java_X version "1.1.8" bash-2.03$ . jdk12b >> Initializing Java libraries for Blackdown JDK 1.2 -- Java Development Kit 1.2 -- Java Servlet Development Kit 2.0 -- JavaBeans Activation Framework 1.0.1 -- MySQL mm JDBC Driver 2.0pre4 for JDBC 2.0 -- ObjectStore PSE Pro 3.0 (runtime) -- ObjectStore PSE Pro 3.0 (tools) -- Custom Java libraries bash-2.03$ . jdk12s >> Initializing Java libraries for Sun JDK 1.2 -- Java Development Kit 1.2 -- Java Servlet Development Kit 2.0 -- JavaBeans Activation Framework 1.0.1 -- MySQL mm JDBC Driver 2.0pre4 for JDBC 2.0 -- ObjectStore PSE Pro 3.0 (runtime) -- ObjectStore PSE Pro 3.0 (tools) -- Custom Java libraries Kewl. 3 JVMs on a platform that is not supported by Sun. :> Ernst Martin Dieringer wrote: > > On Tue, 15 Feb 2000, Ernst de Haan wrote: > > > 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$ > > do you have /usr/bin/expr? if not, link it to /bin/expr > ln -s /bin/expr /usr/bin/ > > > > > And: > > > > DEFAULT_THREADS_FLAG=green > > > > didn't have to be changed, it was already enabled. > > ok that's fine > > martin > > > > > 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 > > _____________________________________________________________________ > Martin Dieringer mailto:dieringe@zedat.fu-berlin.de > Moeckernstr. 76 http://userpage.fu-berlin.de/~dieringe/ > 10965 Berlin Tel.: 030 / 78 99 21 99 --------------B46C359FCA6177C3317DCDA2 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 --------------B46C359FCA6177C3317DCDA2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message