Subject: Re: Java on 2.0/sparc?
To: None <port-sparc@netbsd.org>
From: Gordon Zaft <gordonzaft@gmail.com>
List: port-sparc
Date: 01/04/2005 15:57:42
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?

Gordon


On Mon, 03 Jan 2005 18:04:00 -0600, R. Tyler Ballance <tyler@tamu.edu> wrote:
> Whoops, sorry about that, I've always glazed over that 32-bit link, I'm
> not sure how good the Solaris compatibility is on NetBSD, so YMMV :P
> 
> If you do get it working, I'd appreciate details for my SparcStation 5
> 
> -R. Tyler Ballance
> 
> On Mon, 2005-01-03 at 16:58, Gordon Zaft wrote:
> >  Um, the Sun webpage shows releases of JDK 5 for Windows, Linux (x86),
> > 32-bit and 64-bit Solaris sparc, Solaris x86, and Linux amd64.
> >
> > Gordon
> > On Mon, 03 Jan 2005 16:49:04 -0600, R. Tyler Ballance <tyler@tamu.edu> wrote:
> > > I tried to get Java working on FreeBSD 4.10 once, it worked pretty well
> > > for non-X related things, and this was on i386.
> > >
> > > I'd say that since Sun only realeases the stuff for amd_64, sparc64 and
> > > i386, you're probably screwed (although, java on sparc hardware would
> > > hurt.)
> > >
> > > what do you want to run it for?
> > >
> > > is it something compiling a binary with gcj could fix?
> > >
> > > -R. Tyler Ballance
> > >
> > >
> > > On Mon, 2005-01-03 at 13:59, Gordon Zaft wrote:
> > > >  I have a dual-processor SS20 that is running 2.0 very nicely (good
> > > > stuff!).  I'd like to run Java on it, however perusing the NetBSD
> > > > website seems to suggest that a) that only works running Linux
> > > > emulation and b) doesn't work on sparc.  Any thoughts on how/if I can
> > > > get a working Java on my system?
> > >
> > >
> > >
> >
> 
> 
> 


-- 
Gordon Zaft
gordonzaft@gmail.com