try hard coding Java language versions so that travis will pass builds