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 220.127.116.11-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-18.104.22.168/build-tree/kaffe-22.214.171.124/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