smarter version checking

this accepts anything less than v1.7, so people with Java 8 won’t
erroneously pass the check