[Mer] disable building of Java modules