Subject: Re: Java on 2.0/sparc?
To: None <port-sparc@netbsd.org>
From: Christos Zoulas <christos@tac.gw.com>
List: port-sparc
Date: 01/05/2005 01:21:46
In article <19cd069f050104145730d25682@mail.gmail.com>,
Gordon Zaft  <gordonzaft@gmail.com> wrote:
>Well, I followed the directions in the compat_sunos manpage:
>
> http://netbsd.gw.com/cgi-bin/man-cgi/man?compat_sunos+8+NetBSD-current
>
> I copied the appropriate (hopefully) libraries from my Solaris 8 box
>(also an SS20).  Note that Sol8 has /usr/4lib and /usr/lib, which is
>not what the manpage talks about. I copied what the manpage called
>"lib" from "4lib" and what it called "5lib" from "lib" since this is a
>Solaris box.  At least, I hope that's right.
>
> Next I downloaded the latest sparc jdk (1.5.0_01) and tried to
>install it. No dice, the .sh script is not happy, claims there's an
>error.  So I installed it on my Solaris box (needed to anyway), then
>tar-ed up the directory and ftp-ed it to my NetBSD 2.0 box, untarred
>it and ran Java and got:
>
>./java: Exec format error. Wrong Architecture.
>
> So. Suggestions anyone?  Doesn't anyone want to run Java on this port
>besides me?

You need compat_svr4 for it. compat_sunos is for sunos-4.x

christos