Hi All:

 

I've cross-compiled kaffe-1.1.8 to arm-Linux platform on Fedora i386,but
I have some trouble.

My Arm Process name is armv5tejl and system is linux

I run successfully HellowKaffe.class file, but I can't run all jar file
that happen error message.

I ever build kaff 1.1.7 or add --with-engine=intrp option, but it also
has same problem.

Could any one give any suggestion to me? Or Debug way?

Thank you~~

 

 

Command :

1. ./configure --host=arm-none-linux-gnueabi --with-ecj=ecj
--prefix=/usr/local/kaffe-1.1.8 --disable-gtk-peer --disable-native-awt
--disable-gconf-peer -disable-sound

2. Make 

3. Make install-strip

============arm-linux run===========================

~/JavaTest # kaffe -fullversion

java full version "kaffe-1.4.2"

kaffe VM "1.1.8"

................

Engine: Just-in-time   Version: 1.1.8   Java Version: 1.4

Heap defaults: minimum size: 5 MB, maximum size: unlimited

Stack default size: 64 KB

Configuration/Compilation options:

  Compile date     : Thu Nov 22 15:53:45 CST 2007

  Compile host     : localhost.localdomain

  Install prefix   : /usr/local/kaffe-1.1.8

  Thread system    : unix-pthreads

  Garbage Collector: kaffe-gc

  CC               : arm-none-linux-gnueabi-gcc

  CFLAGS           : -Wall -W -Wextra -fno-strict-aliasing
-fno-omit-frame-pointer -fsigned-char -pthread-g -O2

  LDFLAGS          : 

  ChangeLog head   : 2007-09-13  Dalibor Topic  <[EMAIL PROTECTED]>

 

=============Run Successfully Information.class on
arm-linux========================

~/JavaTest # kaffe Information 

java_vendor:Kaffe.org project

java_vendor_url:http://www.kaffe.org

java_home:/usr/local/kaffe-1.1.8/jre

java_class_version:48.0

java_class_path:.

os_name:Linux

os_arch:armv5tejl

os_version:2.6.12.6-arm1

user_name:root

user_home:/root

user_dir:/root/JavaTest

java_vm_specification_version:1.0

java_vm_specification_vendor:Sun Microsystems Inc.

java_vm_specification_name:Java Virtual Machine Specification

java_vm_version:1.1.8

java_vm_vendor:Kaffe.org project

java_vm_name:Kaffe

java_ext_dirs:

file_separator:/

path_separator::

line_separator:

 

 

 

=============Run Information.Jar error
message=============================================

~/JavaTest # kaffe -v -jar Information.jar

....

Loading
java/lang/ClassCastException.class(/usr/local/kaffe-1.1.8/jre/lib/glibj.
zip) [compressed]

Loading
java/security/SecurityPermission.class(/usr/local/kaffe-1.1.8/jre/lib/gl
ibj.zip) [compressed]

Loading
gnu/java/security/provider/DefaultPolicy.class(/usr/local/kaffe-1.1.8/jr
e/lib/glibj.zip) [compressed]

Loading
java/lang/IllegalThreadStateException.class(/usr/local/kaffe-1.1.8/jre/l
ib/glibj.zip) [compressed]

Loading
java/lang/OutOfMemoryError.class(/usr/local/kaffe-1.1.8/jre/lib/glibj.zi
p) [compressed]

Internal error: caught an unexpected exception.

Please check your CLASSPATH and your installation.

java/lang/NullPointerException

Aborted

 

Best Regards
Skuld Su

_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to