[kaffe] Which executable should I run?
alex100 at iol.pt
alex100 at iol.pt
Fri Aug 8 02:41:28 PDT 2008
Hi,
It is my first time with kaffe.
I built the 1.1.7 version on ubuntu (./configure, make and make install).
Now I in /usr/local/kaffe/bin and there are here lots of executables.
I wrote the helloworld program and compiled it with:
sudo ./javac HW.java
Then
sudo ./kaffe HW
but:
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)
Cancelado (core dumped)
If I use
./java HW
The same error appears...
Documentation says that is is not necessary to specify classpath...
Any help?
Alex
________________________________________________________________________________
SEGURO AUTOMÓVEL Sempre Seguros...
Faça uma simulação e veja QUANTO PODE POUPAR!
http://www.iol.pt/correio/rodape.php?dst=0807312
More information about the kaffe
mailing list