Subject: Re: Java Virtual Machine on NetBSD/Sparc (1.4.2)
To: Tim Walls <tim.walls@pa.press.net>
From: Scott Bartram <scottb@orionsoft.com>
List: port-sparc
Date: 02/04/2001 09:35:12
Tim Walls wrote:

> on 4/2/01 11:19 am, Simon Raahauge DeSantis at xiamin@ghostpriest.rakis.net
> wrote:
> 
>> On Sun, Feb 04, 2001 at 10:36:44AM +0000, Tim Walls wrote:
>> 
>>> Hi all,
>>> 

>>> Does anyone have a recommendation for a JVM which works on
>>> Sparc/1.4.2?  I have tried practically everything in pkgsrc and can't
>>> get anything to work properly.  Kaffe, for example, just coredumps as
>>> soon as you run it.
>>> 
>>> On the compiler side, Jikes seems to work fine, so I'm half way there ;-).
>>> If the only option is to use a 'real'  JDK under SunOS emulation, does
>>> anyone have any idea where I can halfinch the libraries needed for
>>> emulation?  All the machines in the office are Solaris, so presumably
>>> won't have the a.out libs?
>>> 
>> 
>> Couldn't you use Solaris (compat_svr4) then?
> 
> I don't know - does that work with 1.4.2 (a.out?)  I assumed that Solaris
> binaries were ELF and wouldn't work...  I could upgrade to 1.5 but
> (a) I'm in a bit of a hurry to get a working JRE & don't need the agony,
> (b) being a Sparc Classic, it needs as little bloat as it can get away
> with ;-).

The Solaris reference port (green threads) of the JDK will run
under SVR4 emulation. Check out compat_svr4(8).

---
scott