If the Minecraft version is >= 1.17, and the user is on JDK 8, stop the build process and inform the user of the issue. This prevents issues with Gradle and makes the problem easier to diagnose.