[kaffe] Trouble with kaffe-1.1.7 with Fedora Core 5

Aric D. Blumer aric at sdgsystems.com
Fri Jun 2 12:24:42 PDT 2006


Just wondering if anyone else has had problems with running kaffe on
FC5.  It compiles fine, and I install it in /home/aric/software/kaffe.
But when I try to run a simple Hello World app, I get this:

    % cat > test.java
    class test
    {
            public static void main(String args[])
            {  
               System.out.println("Hello World!");
            }
    }
    % ~/software/kaffe/bin/javac test.java
    % ~/software/kaffe/bin/java test
    Internal error: caught an unexpected exception.
    Please check your CLASSPATH and your installation.
    java/lang/NullPointerException
       at gnu.classpath.SystemProperties.getProperty (SystemProperties.java:123)
       at java.lang.VMClassLoader.<clinit> (VMClassLoader.java:83)
       at java.lang.ClassLoader$StaticData.<clinit> (ClassLoader.java:154)
       at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:797)
       at gnu.classpath.VMSystemProperties.postInit (VMSystemProperties.java:native)
       at gnu.classpath.SystemProperties.<clinit> (SystemProperties.java:114)
       at java.lang.Runtime.<init> (Runtime.java:100)
       at java.lang.Runtime.<clinit> (Runtime.java:88)
       at java.lang.System.loadLibrary (System.java:560)
       at gnu.java.nio.channels.FileChannelImpl.<clinit> (FileChannelImpl.java:86)
       at java.io.FileDescriptor.<clinit> (FileDescriptor.java:63)
       at java.lang.VMSystem.makeStandardInputStream (VMSystem.java:191)
       at java.lang.System.<clinit> (System.java:74)
       at java.lang.Object.hashCode (Object.java:174)
       at java.util.Hashtable.hash (Hashtable.java:816)
       at java.util.Hashtable.put (Hashtable.java:426)
       at java.security.Permissions.add (Permissions.java:112)
    Aborted

If I run it with Sun's jdk 1.5, it runs correctly.  I am suspecting
something with jikes because I get the same kind of behavior with
kaffe-1.0.7.

Is anyone else having difficulty with this?

Thanks,
Aric.





More information about the kaffe mailing list