Java 8 is the minimum. But if some popular tools scan the inside of the jar to find the sole Java 16 class in it, then I guess we will have to improve the packaging like you said. That will require a new release with incremented version number though.
On Mon, Jun 3, 2024 at 5:50 AM Olivier Lamy <ol...@apache.org> wrote: > > Hi, > Last release of freemarker [1] mentions " the minimum required Java > version was increased from Java 7 to Java 8" but Maven enforcer rule > fail with max byte code 1.8. > > Try this simple pom [2] with mvn validate and this will show the problem. > > would it be possible to package the java16 using https://openjdk.org/jeps/238 > ? > > Thanks. > Olivier > [1] https://freemarker.apache.org/docs/versions_2_3_33.html > [2] https://gist.github.com/olamy/aeeb0abd3ec41ee0496fa640ce38af5e -- Best regards, Daniel Dekany