Tomcat 8.5.97 build is failing with java runtime jdk 21 windows 10
compile: [javac] Compiling 1747 source files to F:\apache-tomcat-8.5.97-src\apache-tomcat-8.5.97-src\output\classes [javac] error: release version 7 not supported [javac] Usage: javac <options> <source files> [javac] use --help for a list of possible options after thorough debug i find compile failed at includeAntRuntime="true" though i have ant 1.10 Note : I was able to build 10.1.12 successfully.