Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2000 10:05:10 +0000 (GMT)
From:      Nicholas Wright <nick@ist.co.uk>
To:        lodea@vet.com.au, ernst@jollem.com
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: Sun JDK 1.2.2 _Final_ for Linux
Message-ID:  <200002151005.KAA21472@isbalham.ist.co.uk>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002151005.KAA21472>