<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=big5" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>I make the kaffe for my embedded MIPS board by
cross-compiling with "--without-x" and "--enable-debug" option on the x86
Redhat 6.2 PC.</FONT></DIV>
<DIV><FONT size=2>After download all the kaffe files from x86 into the
/usr/local/ of my embedded board, </FONT></DIV>
<DIV><FONT size=2>i try to test some java code which is in the
"test/regression" directory of the kaffe source tree.</FONT></DIV>
<DIV><FONT size=2>Some can run, but some cann't.</FONT></DIV>
<DIV><FONT size=2>Most of the error message is as following:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># javac LoaderTest.java (<FONT size=2> for
example)</FONT></FONT></DIV>
<DIV><FONT size=2># kaffe -vmdebug INITCLASSPATH LoaderTest</FONT></DIV>
<DIV><FONT size=2>initClasspath():
'.:/usr/local/share/kaffe/Klasses.jar:/usr/local/share/kaffe/co<BR>mm.jar:/usr/local/share/kaffe/pjava.jar:/usr/local/share/kaffe/servlet.jar:/usr/<BR>local/share/kaffe/tools.jar:/usr/local/share/kaffe/microsoft.jar:/usr/local/shar<BR>e/kaffe/kjc.jar:/usr/local/share/kaffe/rmi.jar'<BR>insertClasspath():
'.' append<BR>insertClasspath(): '/usr/local/share/kaffe/Klasses.jar'
append<BR>insertClasspath(): '/usr/local/share/kaffe/comm.jar'
append<BR>insertClasspath(): '/usr/local/share/kaffe/pjava.jar'
append<BR>insertClasspath(): '/usr/local/share/kaffe/servlet.jar'
append<BR>insertClasspath(): '/usr/local/share/kaffe/tools.jar'
append<BR>insertClasspath(): '/usr/local/share/kaffe/microsoft.jar'
append<BR>insertClasspath(): '/usr/local/share/kaffe/kjc.jar'
append<BR>insertClasspath(): '/usr/local/share/kaffe/rmi.jar'
append
</FONT></DIV>
<DIV><FONT size=2>Loading Class0 with default ClassLoader<BR>-> class Class0
loader null<BR>Loading Class1 with Loader1<BR>Loader1: finding Class1...Internal
error: caught an unexpected exception.<BR>Please check your CLASSPATH and your
installation.<BR>java/lang/NullPointerException<BR>Aborted</FONT></DIV>
<DIV><FONT size=2>#</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>I considser my CLASSPATH should be ok.</FONT></DIV>
<DIV><FONT size=2>What's the problem?</FONT></DIV>
<DIV><FONT size=2>Is it the problem of the kaffe i made or just the tested java
code ??</FONT></DIV>
<DIV><FONT size=2>Any suggestion will be appreciated!!</FONT></DIV>
<DIV> </DIV></BODY></HTML>