Subject: Java 1.4.2 working?
To: None <>
From: Brian Stark <>
List: tech-pkg
Date: 10/05/2003 14:26:47

Is anyone using packages 'sun-jre14-2.1' and 'sun-jdk14-2.1' succesfully
with NetBSD-current?

Testing on a NetBSD system I built yesterday (10/4/2003) shows that java
won't run:

Script started on Sun Oct  5 12:36:21 2003
rainforest:bstark$ uname -a
NetBSD 1.6ZC NetBSD 1.6ZC (RAINFOREST) #0: Sat Oct
4 21:57:23 PDT 2003 i386
rainforest:bstark$ pkg_info | grep sun
sun-jre14-2.1       Sun's Java(tm) 2 Runtime Environment 1.4.2
sun-jdk14-2.1       Sun's Java(tm) 2 SDK, Standard Edition 1.4.2
rainforest:bstark$ echo $JAVA_HOME ; echo $CLASSPATH
rainforest:bstark$ javac
rainforest:bstark$ ulimit -a
time(cpu-seconds)    unlimited
file(blocks)         unlimited
coredump(blocks)     unlimited
data(kbytes)         256000
stack(kbytes)        2048
lockedmem(kbytes)    82186
memory(kbytes)       246560
nofiles(descriptors) 64
processes            160
rainforest:bstark$ ^D

Script done on Sun Oct  5 12:37:01 2003

My kernel has 'options COMPAT_LINUX', the proc file system is mounted,
JAVA_HOME, CLASSPATH and PATH are set correctly, and the ulimit for the
data segment is set higher than the minimum value of 131204.

Am I missing something, or are there known problems with Java 1.4.2??


Brian Stark
bpstark at pacbell dot net