You do need to use Java 11-14 with the build itself for now. You can use a
newer Java version to run tests, etc. - this is explained here:
https://github.com/apache/lucene/blob/main/help/jvms.txt

D.

On Sun, May 23, 2021 at 6:02 PM Michael Wechner <michael.wech...@wyona.com>
wrote:

> Hi
>
> I just installed OpenJDK 16 and tried to build Lucene, but received the
> following error
>
> * What went wrong:
> Could not compile settings file
> '/Users/michaelwechner/src/apache/lucene/settings.gradle'.
>  > startup failed:
>    General error during semantic analysis: Unsupported class file major
> version 60
>
>    java.lang.IllegalArgumentException: Unsupported class file major
> version 60
>
> and searched for it and IIUC this is does not work
>
> https://github.com/gradle/gradle/issues/13481
>
> I think it would make sense to add a note to the README
>
> https://github.com/apache/lucene
>
> WDYT?
>
> Thanks
>
> Michael
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>
>

Reply via email to