You need to look in the published (built) BUILDING.txt file, not the raw sources. The raw sources are meant to prouce a build, the yre not for human consumption.

You can e.g. download a published form og Tomcat 8.5.100 and look into BUILDING.txt there.

Regards,

Rainer

Am 22.03.24 um 13:01 schrieb Koteswararao Gundapaneni:


On Fri, Mar 22, 2024 at 4:09 AM Mark Thomas <ma...@apache.org <mailto:ma...@apache.org>> wrote:

    On 22/03/2024 10:54, Koteswararao Gundapaneni wrote:
     > Hi,
     >
     > While building the tomcat source 8.5.100 its giving an error with
    java 7
     >
     > below is the error
     >
     > ANT_OPTS is set to  -Djava.security.manager=allow
     > Error occurred during initialization of VM
     > java.lang.UnsupportedClassVersionError: allow : Unsupported
    major.minor
     > version 52.0
     >
     > in Building.txt file it has the following instruction
     >
     >   3. Install the JDK according to the instructions included with
    the release.
     >
     > so if am not wrong, we could suggest java11 is required for the build
     > process in the instructions given

    Yes, you are wrong.

    PLEASE read the documentation first. Specifically this sentence from
    BUILDING.txt

    <quote>
    Download a version 11 or later of Java Development Kit...
    </quote>

    Mark

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
    <mailto:dev-unsubscr...@tomcat.apache.org>
    For additional commands, e-mail: dev-h...@tomcat.apache.org
    <mailto:dev-h...@tomcat.apache.org>

The above quote is  not available in BUILDING.txt:

FYI: added BUILDING.txt

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

Reply via email to