do not stop building when wrong java is used