JAVA_HOME=/usr/lib/jvm/cacao ant -Dbuild.compiler=gcj clean test-all
But that hangs at some point with zero load. I have no idea what is going on there. I've spoken with twisti on the #classpath IRC channel, and he helped me run the compile with gdb, which indicated that at some point all threads were waiting.
I also tried it with kaffe 188.8.131.52-2 in sid, but now with a XML parser in the CLASSPATH, as Dalibor in a previous blog item suggested:
JAVA_HOME=/usr/lib/kaffe ant -Dbuild.compiler=gcj clean test-all
But that failed too with:
[junit] Running org.openscience.cdk.test.CDKTests
[junit] kaffe-bin: /home/mkoch/debian/kaffe/kaffe-184.108.40.206/build-tree/kaffe-220.127.116.11/kaffe/kaffevm/jit3/machine.c:276: translate: Assertion `reinvoke == false' failed.
[junit] Test org.openscience.cdk.test.CDKTests FAILED
It did work previously :(
OK, to reproduce this yourself, you need to check out CDK from CVS (hoping that anonymous CVS is reasonable in sync, and online) with:
cvs -d:pserver:firstname.lastname@example.org:/cvsroot/cdk login
cvs -z3 -d:pserver:email@example.com:/cvsroot/cdk co -P cdk