Cross-compliling for Kaffe for ARM-LINUX

Euisung Kang kaffe@rufus.w3.org
Wed, 31 May 2000 19:14:27 +0900



Hi,

Very sorry for the duplicate questsion.
When I sent the previous email, I omitted a error message.
Sorry.

When I compiled hello.java, I get the following message.

#javac hello.java
Kaffe: memory violation at pc=0x401cb4c0, lr=0x40092580 (bad
address=0x00000001, code 2)
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
        at java.lang.String.getChars(String.java:273)
        at java.lang.String.toCharArray(String.java:486)
        at java.util.StringTokenizer.<init>(StringTokenizer.java:35)
        at java.util.StringTokenizer.<init>(StringTokenizer.java:30)
        at
kaffe.lang.SystemClassLoader.findResources(SystemClassLoader.java:49)
        at java.lang.ClassLoader.getResources(ClassLoader.java:172)
        at java.lang.ClassLoader.getResource(ClassLoader.java:149)
        at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:199)
        at
java.lang.ClassLoader.getSystemResourceAsStream(ClassLoader.java:211)
        at java.lang.System.<clinit>(System.java:49)
        at java.lang.ThreadGroup.add(ThreadGroup.java:86)
Aborted

This means that kaffe was not properly cross-compiled?
Or Kaffe (JVM) and related libraries are cross-compiled nicely but other
problems exist?

I have seen similar questions from mailing list archives, but I don't solve
this problem yet.
Please, send me some direction.

Thanks.

--
Euisung Kang, Ph.D,
mailto:e.kang@ieee.org