Shout more warnings when jdk is not supported

Related to travis-ci/travis-ci#1291