JDK port to NetBSD

A project to port Sun's JDK to NetBSD.

The initial port is for NetBSD/i386. Other architectures may follow if suitable development systems are available. Or other NetBSD hackers with JDK source license.


1999/09/04 JDK 1.1.6 updated

A new set of jdk116.tar.gz and jre116.tar.gz have been uploaded to ftp://ftp.netbsd.org/pub/NetBSD/misc/java/i386/1.1.6/

These do not suffer the "window off the screen" bug that even JDK 1.1.8 on Solaris appears to suffer. At least there is no sign of it here.

1999/08/11 JDK 1.2 stalled

With the change in Sun's licensing of JDK post 1.2, it appears that 1.2 will be the last port that we can make available - assuming we finish it. Please ask your local Sunsoft rep why NetBSD (*BSD?) cannot get the same break that Linux does wrt freely distributable 1.2.x ports.

At this stage a 1.1.8 port is likely before further work is done on 1.2.

1999/01/05 JDK 1.2 started

I've pretty well stopped working on 1.1.6, 1.1.5 is stable, and Sun introduced enough bugs in 1.1.6 (fixed in 1.1.7 - but we don't have 1.1.7 source), that 1.2 looks attractive. Besides much of the stuff I'm interested in right now requries 1.2.

So I've imported 1.2 into CVS, and started working on it. Don't hold your breath! The 1.2 build setup is _much_ cleaner than 1.1 but 1.2 is huge. I believe at least some of the Linux team have built it against Lesstif, so we should not have too much grief.


1998/12/12 JDK 1.1.6

Scott Bartram has uploaded an i386 release:

1998/10/18 JDK 1.1.6 beta1

Scott Bartram has done a 1.1.6 port (i386, sparc to follow), the beta1 is available from ftp://ftp.netbsd.org/pub/NetBSD/misc/java/

1998/09/26 JDK 1.1.5 patches.

Not the 1.1.6 patches I was hoping to release, but they may still be useful.

1998/08/01 JDK 1.1.5 release.

The only ``code'' change from the previous beta, is the use of lesstif-0.85 (as per the NetBSD pkgsrc installation), and of course more use of the gcc optimizer.

This first release version identifies itself simply as:

$ java -version
java version "1.1.5"
The archive jdk115.tar.gz should appear on the mirrors within a day or two.

There is also a jre115.tar.gz for those that want to bundle the JRE with their applications.

1998/04/25 AWT update2

A new AWT update jdk115b1-awt-update2.tar.gz has been placed in the distribution directory and should appear at mirror sites within 24 hrs. This is AWT uses lesstif-current (of 1998/04/24) plus a fix from the Linux JDK team (thanks Kevin!) that fixes the missing menuBar bug. jCVS now appears to work ok.

1998/03/14 JDK 1.1.5 beta1 for NetBSD/i386.

This beta version identifies itself as:

$ java -version
java version "sjg:1998/03/06-01:26"
The archive is jdk115b1.tar.gz, but be sure to grab jdk115b1-awt-update2.tar.gz as well.


Each JDK release has its own bugs. Our port undoubtably adds some more. If you have access to a Solaris machine running the same JDK version, we would appreciate it if you could check whether the problem is reproducible there and if so the problem should be reported to Sun.

Port related problems can be mailed to help@crufty.net, but be aware that there are virtually zero resources available to this project.


Because we have a relatively slow Internet link, we would prefer that downloads are made from the mirrors. If you are prepared to mirror the download directory please mail me.

Actually, since we don't get any stats from the mirrors, feel free to mail me if you are happily using our JDK port.


We must thank the FreeBSD java porting team who have done a great job of porting Sun's JDK (1.1.5) to FreeBSD and made a set of their patches available. This project would not have happened without the head start that the FreeBSD patches provided.

The FreeBSD JDK which is uses Motif is also very handy for comparing AWT behavior (we use lesstif in place of Motif as it would not be viable for us to license Motif for several NetBSD platforms.)

Related projects

Yet another java wrapper for Eric Young's SSLeay libraries.
Java Development on NetBSD
Hauke Fath provides some useful info and links regarding building Java projects on NetBSD.
Kaffe provides a JIT JVM for many NetBSD platforms. While some features are still missing, it is worth checking if your application works with kaffe.

http://www.netbsd.org/ http://www.lesstif.org/

$Id: jdk.html,v 1.11 1999/02/05 13:52:27 sjg Exp $
Copyright © 1997-2001 Crufty.NET