Added Java 8 to version check