Date: Tue, 15 Feb 2000 11:33:35 +0100 From: Ernst de Haan <ernst@jollem.com> To: Nicholas Wright <nick@ist.co.uk> Cc: lodea@vet.com.au, freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux Message-ID: <38A92B7F.22445E63@jollem.com> References: <200002151005.KAA21472@isbalham.ist.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------6D0AB3C5289DE37985EC19DF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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? Ernst Nicholas Wright wrote: > > Hi > > Have you solved the first problem of "/usr/bin/expr" not being found? > > Nicholas > > > Delivered-To: freebsd-java@freebsd.org > > Date: Tue, 15 Feb 2000 10:56:23 +0100 > > From: Ernst de Haan <ernst@com.jollem> > > X-Accept-Language: en, nl > > Mime-Version: 1.0 > > To: "Lachlan O'Dea" <lodea@au.com.vet> > > Cc: freebsd-java@ORG.FreeBSD > > Subject: Re: Sun JDK 1.2.2 _Final_ for Linux > > X-Loop: FreeBSD.org > > > > Hi Lachlan et all, > > > > Hmm. Seems I'm not the first one getting the Sun JDK 1.2.2 running on > > Linux, Lachlan, it's your honour :-) > > This is what I get when executing java -version for the Sun JDK 1.2.2: > > > > 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$ > > > > When I do a find, I get: > > > > bash-2.03$ find /usr/local/sun-linux-jdk1.2.2 -name libjava.so > > /usr/local/sun-linux-jdk1.2.2/jre/lib/i386/libjava.so > > bash-2.03$ > > > > So it _should_ be able to find it IMO. This is my environment: > > > > bash-2.03$ set | grep "JAVA\|CLASS" > > > CLASSPATH=:/usr/local/sun-linux-jdk1.2.2/jre/lib/rt.jar:/usr/local/share/ja > va/classes/jsdk.jar:/usr/local/share/java/classes/activation.jar:/usr/local > /share/java/classes/mm/mm.mysql.jdbc-2.0pre4/mysql_2_uncomp.jar:/usr/local/ > share/java/classes/psepro3/pro_g.jar:/usr/local/share/java/classes/psepro3/ > tools_g.jar:/home/ernst/java/lib > > CUSTOM_JAVA_LIBS=/home/ernst/java/lib > > JAVA_CLASSES_HOME=/usr/local/share/java/classes > > JAVA_HOME=/usr/local/sun-linux-jdk1.2.2 > > bash-2.03$ > > > > Any ideas? Probably something with LD_LIB_CONFIG or so? > > > > Ernst > > > > > > Lachlan O'Dea wrote: > > > > > > On Tue, Feb 15, 2000 at 12:22:22PM +1100, Lachlan O'Dea wrote: > > > > On Tue, Feb 15, 2000 at 01:26:08AM +0100, Ernst de Haan wrote: > > > > > Hey, > > > > > > > > > > The Sun JDK 1.2.2 for Linux has now been upgraded from beta/rc to > final. > > > > > See: > > > > > > > > > > * http://java.sun.com/products/jdk/1.2/download-linux.html > > > > > > > > > > Altho the Blackdown JDK 1.2.2 rc4 works fine on my FreeBSD > 3.4-STABLE > > > > > system, I will attempt to get this one running as well. I wanna do > some > > > > > performance comparisons. I recall that the Blackdown port didn't > have > > > > > native thread support, but the Sun JDK did. Am I rite? > > > > > > > > Close. The Blackdown port supports both native and green threads, the > > > > Inprise port supports native threads only. I believe the IBM ports, > > > > including the forthcoming 1.3 port are also native threads only. > > > > > > My apologies, I was mistaken. The final release from Sun does have > green > > > threads support. In fact the readme claims that only green threads are > > > supported. The native-threads libraries are included, however I get: > > > > > > rivendell ~ > /usr/local/java/bin/java -native -version > > > Warning: native threads are not supported in this release > > > Bad system call > > > > > > Also, running AWT stuff gives me the same results as the last RC - the > > > Java process just eats CPU (ps always lists it as R+) and displays > > > nothing. This is under 3.3. > > > > > > -- > > > Lachlan O'Dea <mailto:lodea@vet.com.au> Computer Associates Pty Ltd > > > Webmaster Vet - Anti-Virus Software > > > http://www.vet.com.au/ > > > > > > "Fundamentalism isn't about religion. It's about power." > > > - Salman Rushdie > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-java" in the body of the message > =========================================================================== > Nicholas Wright Imperial Software Technology Software Engineer > --------------------------------------------------------------------------- > Email : nick@ist.co.uk or support@ist.co.uk > Berkshire House 120 Hawthorne Ave, #101 > 252 Kings Road Palo Alto > Reading RG1 4HP United Kingdom California 94301 USA > Tel: +44 118 958 7055 Tel: 650 688 0200 > FAX: +44 118 958 9005 FAX: 650 688 1054 > =========================================================================== > ****** VISAJ AT http://www.ist.co.uk/visaj ****** > =========================================================================== > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message --------------6D0AB3C5289DE37985EC19DF 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 --------------6D0AB3C5289DE37985EC19DF-- 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?38A92B7F.22445E63>