The former.

<property name="compile.release" value="8"/>

On Thu, Nov 30, 2023 at 3:40 PM Aditya Shastri <aditya.shastri5...@gmail.com>
wrote:

> Thanks for the response Adwait.
>
> My ant skills are lacking. Does the minimum bytecode definition come
> from this line?
> <property name="compile.release" value="8"/>
>
> What does this line do?
>   <property name="min.java.version" value="8"/>
>
> On Thu, Nov 30, 2023 at 6:10 PM Adwait Kumar Singh <adwsi...@gmail.com>
> wrote:
> >
> > Yes, JDK17 can produce JDK8 bytecode, in fact that's what Tomcat does.
> >
> > On Thu, Nov 30, 2023 at 2:35 PM Aditya Shastri <
> aditya.shastri5...@gmail.com>
> > wrote:
> >
> > > Hello,
> > >
> > > We build our own Tomcat 9 binaries from scratch (grab the tag from
> > > https://github.com/apache/tomcat) and call ant (with java8) to build
> > > it.
> > >
> > > Starting with 9.0.83, our pipelines are failing with the error
> > > build.xml:113: Java version 17 or newer is required (1.8.0_381 is
> > > installed)
> > >
> > > The apps we have are only certified on Java 8 and it would take a bit
> > > of work to get it to Java 17.
> > >
> > > My question is if I build the binaries with Java 17, can I still use
> > > it with Java 8?
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > > For additional commands, e-mail: users-h...@tomcat.apache.org
> > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to