[kaffe] kaffe, kaffe-bin and BOOTCLASSPATH
Guilhem Lavaux
guilhem at kaffe.org
Wed Jul 14 06:54:21 PDT 2004
Fabien Renaud wrote:
> Hi,
Hi Fabien,
>
> To use strace, I have to use strace kaffe-bin and not strace kaffe
> (otherwise I have syscall: unknown syscall trap 0x00000000)
> But since I use the method with DESTDIR in make install, I have this
> with kaffe-bin :
> Couldn't find or load essential class `java/lang/Object'
> java.lang.ClassNotFoundException java/lang/Object
> Aborted
>
> This error happens if I specify BOOTCLASSPATH
> If I don´t do it, it´s ok, but I have to specify it because I use
> RXTXcomm.jar
>
If you specify it, you need also to put the path to rt.jar. When you
don't put it, kaffe-bin uses binreloc to find the necessary
classes/native libraries but in the other case it needs everything.
You need to write, e.g.: BOOTCLASSPATH=[prefix]/jre/lib/rt.jar:RXTXcomm.jar
Cheers,
Guilhem.
More information about the kaffe
mailing list