Build Java client if we need to.