[kaffe] VM Internal error

李正光 xjklee at gmail.com
Mon Jan 8 07:21:43 PST 2007


Hi,

I use ARM gcc with version 2.95.3 to compile kaffe. When I want to run
HelloWrold example, it causes an Internal error that message is as following:
#> /usr/local/kaffe/jre/bin/java HelloWorld
  Internal error: caught an unexpected exception.
  Please check your CLASSPATH and your installation.
  java/lang/ExceptionInInitializerError
   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)
caused by java/lang/NullPointerException:
   at java.lang.ExceptionInInitializerError.<init>
(ExceptionInInitializerError.java:98)
   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

It'OK when I run "/usr/local/kaffe/jre/bin/java -version".
Your response will be appreciated.

Thanks,
JKLee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kaffe.org/pipermail/kaffe/attachments/20070108/d6330ba2/attachment-0004.htm 


More information about the kaffe mailing list