Subject: Running java (kaffe) dumps core
To: NetBSD alpha <port-alpha@netbsd.org>
From: Uwe Lienig <Uwe.Lienig@fif.mw.htw-dresden.de>
List: port-alpha
Date: 07/03/2006 15:34:08
Hello NetBSD-alpha friends,
this is a plain install of NetBSD/alpha, v2.1
NetBSD muxs1et0.fif.mw.htw-dresden.de 2.1 NetBSD 2.1 (GENERIC) #0: Mon Oct 24\
19:17:35 UTC 2005 jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-1-RELEASE\
/alpha/200510241747Z-obj/home/builds/ab/netbsd-2-1-RELEASE/src/sys/arch/\
alpha/compile/GENERIC alpha
I installed kaffe from pkgsrc by compiling the source.
I have the following problem
kaffe dumps core with a very simple Hello world. The source is 5 lines
public class Hallo {
public static void main(String[] args) {
System.out.println("Hallo Welt!");
}
}
I'm running bash:
GNU bash, version 2.05b.0(1)-release (alpha--netbsd)
Copyright (C) 2002 Free Software Foundation, Inc.
The environment is
PATH=/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/pkg/java/kaffe/bin
CLASSPATH=/usr/pkg/java/kaffe/jre/lib/rt.jar:.
Compiling with jikes gives no error. Running the resulting class stops with the
following message:
(kaffe-bin): unaligned access: va=0x1200d42f1 pc=0x160090090 ra=0x160090004
sp=0x1ffffe430 op=ldq
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
at java.lang.Object.getClass (Object.java:331)
at java.security.Permissions.add (Permissions.java:112)
Abort trap (core dumped)
What am i doing wrong?
TIA
--
Uwe Lienig
----------
fon: (+49 351) 462 2780
fax: (+49 351) 462 3476
mailto:uwe.lienig@fif.mw.htw-dresden.de
Forschungsinstitut Fahrzeugtechnik
<http://www.fif.mw.htw-dresden.de>
parcels: Gutzkowstr. 22, 01069 Dresden
letters: PF 12 07 01, 01008 Dresden
Hochschule für Technik und Wirtschaft Dresden (FH)
Friedrich-List-Platz 1, 01069 Dresden