Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2000 10:56:23 +0100
From:      Ernst de Haan <ernst@jollem.com>
To:        "Lachlan O'Dea" <lodea@vet.com.au>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: Sun JDK 1.2.2 _Final_ for Linux
Message-ID:  <38A922C7.39475118@jollem.com>
References:  <38A89D20.4FE31D8A@jollem.com> <20000215122222.B44286@vet.com.au> <20000215142520.C44286@vet.com.au>

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

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/java/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
--------------A5524D7256884CD95F691A69
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

--------------A5524D7256884CD95F691A69--



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?38A922C7.39475118>