Allow specifying required JDK version.