Stop requiring java 1.8

Fixes #42