*BSD News Article 84583


Return to BSD News archive

Newsgroups: comp.unix.bsd.netbsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!newsgate.duke.edu!news.mathworks.com!fu-berlin.de!unlisys!news.maz.net!news.ppp.net!news.Hanse.DE!wavehh.hanse.de!cracauer
From: cracauer@wavehh.hanse.de (Martin Cracauer)
Subject: Re: JAVA support for NetBSD-1.2 i386??
Message-ID: <1996Dec9.165500.29167@wavehh.hanse.de>
Reply-To: cracauer@wavehh.hanse.de
Organization: Internet Breakdown Task Force
References: <32A99954.41C67EA6@oz.net>
Date: Mon, 9 Dec 96 16:55:00 GMT
Lines: 38

Bill&Virginia Hodges <hodges@oz.net> writes:

>Has anybody found a way to develop JAVA on NetBSD?
>I downloaded the JGL executables from Sun for Solarus i86
>and they are elf format and would not run.

I have no machine to test here, but as far as I know the COMPAT_SVR4
emulation of NetBSD is sufficient to run Sun's JDK, at least the
non-graphics stuff.

Alternativly:

- seek for Kaffe, which is a free virtual machine (be sure to get
  version 0.6.x or greater)

- You could use guavac to compile Java files (and view them using
  Netscape Navigator)

- From time to time on of the Navigator betas is capable of running
  the flags '-java class.name', which turns it into a java virtal
  machine. 

- You might try the FreeBSD version of the JDK at 
  ftp://freefall.freebsd.org/pub/LOCAL_PORTS (or such, easy to
  find). You will have to set up COMPAT_FREEBSD and FreeBSD's shared
  libs. 

- You might try the Linux version, using COMPAT_LINUX.

- You might get the sources for the JDk from Sun and try to port it
  (not easy, but not impossible also).

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin_Cracauer@wavehh.hanse.de http://cracauer.cons.org  Fax.: +4940 5228536
"As far as I'm concerned,  if something is so complicated that you can't ex-
 plain it in 10 seconds, then it's probably not worth knowing anyway"- Calvin