Move the check for existence of the asciidoc doc folder in the block checking JDK version