From owner-freebsd-java Tue Feb 15 2: 7: 1 2000 Delivered-To: freebsd-java@freebsd.org Received: from isbalham.ist.co.uk (isbalham.ist.co.uk [192.31.26.1]) by builder.freebsd.org (Postfix) with ESMTP id 7E2F54381 for ; Tue, 15 Feb 2000 02:04:50 -0800 (PST) Received: from iscool.ist.co.uk (iscool [89.0.0.33]) by isbalham.ist.co.uk (8.9.2/8.8.7) with SMTP id KAA21472; Tue, 15 Feb 2000 10:05:12 GMT (envelope-from nick@iscool.ist.co.uk) Message-Id: <200002151005.KAA21472@isbalham.ist.co.uk> Received: from ispider by iscool.ist.co.uk; Tue, 15 Feb 00 10:05:10 GMT Date: Tue, 15 Feb 2000 10:05:10 +0000 (GMT) From: Nicholas Wright Reply-To: Nicholas Wright Subject: Re: Sun JDK 1.2.2 _Final_ for Linux To: lodea@vet.com.au, ernst@jollem.com Cc: freebsd-java@FreeBSD.ORG Mime-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-Md5: FP0Xt7CeOou8KVrtJAOZ6w== X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 > X-Accept-Language: en, nl > Mime-Version: 1.0 > To: "Lachlan O'Dea" > 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 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