Need to define 1.7 for try with resources