fixed Java compile with Ant.