[질문] Kaffe 포팅 mispel
### configure option begins here
export KAFFEH=/usr/local/kaffe/bin/kaffeh
./configure \
--prefix=/usr/local/RG1 \
--exec-prefix=/mnt/kaffe \
--host=mipsel-linux \
--build=i686-linux-gnu \
--target=mipsel-linux \
--with-includes=/usr/mipsel-linux/include \
--with-libraries=/usr/mipsel-linux/lib \
--enable-shared \
--disable-static \
--disable-gcj \
--enable-debug \
--disable-mips2 \
--disable-alsatest \
--disable-esdtest \
--disable-xprofiling \
--disable-xdebugging \
--disable-feedback \
--disable-native-awt \
--disable-nls \
--disable-sound \
--without-profiling \
--without-stats \
--without-x \
--without-alsa \
--without-esd \
--without-classpath-gtk-awt --without-kaffe-qt-awt --without-kaffe-x-awt \
--with-threads=unix-jthreads \
--with-engine=intrp \
--enable-pure-java-math \
--with-jikes \
--with-rt-jar=/tmp/rt.jar
### ends here
타켓에서에서 자바실행
xxx/usr/local/RG1/jre/bin# ./java -fullversion
java full version "kaffe-1.4.2"
kaffe VM "1.1.6"
Copyright (c) 1996-2005 Kaffe.org project contributors (please see
the source code for a full list of contributors). All rights reserved.
Portions Copyright (c) 1996-2002 Transvirtual Technologies, Inc.
The Kaffe virtual machine is free software, licensed under the terms of
the GNU General Public License. Kaffe.org is a an independent, free software
community project, not directly affiliated with Transvirtual Technologies,
Inc. Kaffe is a Trademark of Transvirtual Technologies, Inc. Kaffe comes
with ABSOLUTELY NO WARRANTY.
Engine Interpreter Version 1.1.6 Java Version 1.4
Heap defaults minimum size 5 MB, maximum size unlimited
Stack default size 64 KB
Configuration/Compilation options
) Compile date Wed Dec 21 131706 KST 2005
Compile host localhost.localdomain
Install prefix /usr/local/RG1
Thread system unix-jthreads
Garbage Collector kaffe-gc
CC /export/tools/bin/mipsel-linux-gcc
CFLAGS -g -O2 -Wall -W -fno-omit-frame-pointer -DENABLE_BINRELOC
LDFLAGS
ChangeLog head 2005-09-20 Dalibor Topic <robilad@kaffe.org>
mispel로 포팅하기 위해 configure를 하고 컴파일을 수행하고
타켓시스템에서 사용시 다음과 같은 에러가 발생합니다.
xxx/mnt/kaffe/bin# ./java ../../tomcat/HelloWorld
Internal error caught an unexpected exception.
Please check your CLASSPATH and your installation.
at java.lang.Object.getClass (Object.java331)
at java.security.Permissions.add (Permissions.java112)
Aborted
카페 메일링리스트에서도 찾아 보아도 해결책을 찾기가 어렵습니다.
고수님들의 조언부탁드립니다.
댓글 달기