Subject: Java 2 SDK under i386?
To: None <netbsd-users@netbsd.org>
From: Jonathan Fuerth <fuerth@jake.capybara.org>
List: netbsd-users
Date: 10/15/2000 20:10:13
Hi.  I'm running 1.4.2/i386, and I've been trying to get a Java 2
(i.e. Sun JDK 1.2.x or 1.3) development environment set up.

I'm aware that native threads are not yet supported, and I'm perfectly
willing to cope with green threads for a while.  My main problem is
that I can't get the green threads version of the jvm to run either.

The only JDK I've downloaded so far is 1.3 for linux.. and it doesn't
work.  I get this (while trying to run the green_threads jvm):

----
jake# ./java
expr: syntax error
../../../../../src/solaris/hpi/green_threads/src/dl-malloc.c:1636: malloc_extend_top: Assertion `((size_t)((char*)(((mbinptr)(&(av_[2 * (0)])))->fd) + top_size) & (pagesz - 1)) == 0' failed.
zsh: abort (core dumped)  ./java
----

I did try upgrading to NetBSD-1.5_ALPHA2 (thinking maybe newer linux
emulation would save me), but it wouldn't boot on my system (seems to
be a SCSI probing problem, but that's another story).

Has anybody had any luck with a 1.2.x linux JDK (under 1.4.2), or will
I experience similar problems?

How about the Solaris version?  I have the Solaris 8 Intel Edition CDs,
so I could install the necessary files under /emul and try my luck with
the Solaris/Intel jvm.  Has anybody had any luck with this route?

Thanks,
Jonathan Fuerth