More cleaning on java side
Doc on the Java side + debug flag on build.sh