You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by koteswara Rao Gundapaneni <ko...@gmail.com> on 2024/02/10 11:49:35 UTC

Assist in build for successful build

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.

Re: Assist in build for successful build

Posted by Mark Thomas <ma...@apache.org>.
On 10/02/2024 11:49, koteswara Rao Gundapaneni wrote:
> Tomcat 8.5.97 build is failing with java runtime jdk 21 windows 10

That is expected. You need to use a JDK that can target Java 7.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org