[kaffe] unable to compile on assabet

BOTINEAU Alain Alain.BOTINEAU at B2i.fr
Fri Nov 15 01:28:18 PST 2002


Hi,

I'm trying to use kaffe on an intel SA-1110 and linux.

To install kaffe, i did:

export KAFFEH=/usr/local/kaffe/bin/kaffeh

CC=/opt/hardhat/devkit/arm/sa110_le/bin/sa110_le-gcc ./configure --prefix
=/mnt/cdk --build=i386-linux --host=arm-linux --target=arm-linux --without-x --without-awt

make

make install

and then on my assabet i mounted kaffe:

mount -t nfs 192.168.128.103:/opt/hardhat/devkit/arm/sa1110_le/target /mnt/cdk

after copying all files in /mnt/cdk in /opt/hardhat/devkit/arm/sa1110_le/target

Then problems begin:

I'm unable to compile a simple java file on the assabet.

If i do:

/mnt/cdk/bin/javac Hello.java

I get:

Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/OutOfMemoryError
        at java.util.HashMap.rehash(HashMap.java:221)
        at java.util.HashMap.put(HashMap.java:121)
        at java.util.Hashtable.put(Hashtable.java:105)
        at java.lang.System.initProperties(System.java:native)
        at java.lang.System.<clinit>(System.java:43)
Aborted

or i sometimes get:

VM: killing process kaffe-bin                                                   
Killed                              

Am i doing something wrong? What is the method to compile a java file?

In the mailing list archive i can see that some people succeed in installing kaffe on a strongarm. Did you use an another way to compile it?

Thanks for your help.

Best regards.










More information about the kaffe mailing list