The test for junit is now passed after I linked junit.jar (from junit4) to /usr/share/java manually...
On my 64bit system I don't have these problem at all.
Now on both systems the build dies when building unoxlm:

-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development

though, I was fiddling with as-needed which just fails right now. either module sfx2 or module sc fails. am going to disable it. impossible to get them both to succeed. 3.5 seems to be fixed. we will see then.