Make travis check java projects.