Subject: sun-jre14 issues
To: None <tech-pkg@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: tech-pkg
Date: 03/30/2004 11:35:41
I'm not sure whether something is wrong with this package or with my 
system config.

Here's what happens...

$ java -version
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack 
location
Error occurred during initialization of VM
Could not reserve enough space for object heap

...

The kernel has "COMPAT_LINUX"
It's a i386 machine running NetBSD-current (1.6ZK)
Setting JAVA_HOME doesn't help
mk.conf has "PKG_JVM=sun-jdk14"
These are the binaries from Sun...
	j2re-1_4_2_04-linux-i586.bin
	j2sdk-1_4_2_04-linux-i586.bin

So I have some questions...

Should I be reverting to 1.3.1 at this point or does anyone have this 
working in a stable fashion?

Do we pay a performance penalty for running java in Linux compatiblility 
mode?

Are we at Sun's mercy when it comes to having a native JRE or are there 
alternatives that work?

Thanks,

Louis