Add check and message for Java 8 -- thanks @agaricus