[kaffe] Problem with running jedit

Maciej Piechotka uzytkownik2 at gmail.com
Wed Jun 7 07:13:34 PDT 2006


I've install Kaffe, because I'd like to switch on free vm.
If I try run such debug program:
$ cat test.java public class test {
        public static void main(String[] args) {
                System.getProperties().list(System.out);
        }
}
uzytkownik at notebook ~ $ javac test.java
uzytkownik at notebook ~ $ 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:512)
   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

More verbose:
(...)
Loading java/lang/VMClassLoader.class(/opt/kaffe/jre/lib/glibj.zip)
[compressed]Loading
java/security/Policy.class(/opt/kaffe/jre/lib/glibj.zip) [compressed]
Loading java/security/ProtectionDomain.class(/opt/kaffe/jre/lib/glibj.zip)
[compressed]
Loading java/lang/Package.class(/opt/kaffe/jre/lib/glibj.zip) [compressed]
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
   at gnu.classpath.SystemProperties.getProperty (SystemProperties.java:123)
(...)

What's wrong?




More information about the kaffe mailing list