Thanks for the detailed response Shawn. I intend to run the code on JRE 11.
However the build machine I have access to has JDK 8. Are there any known
concerns (performance or otherwise) with code built on Java 8 and
running on Java 11?

Also, curious why do you say this? "The build will likely not work on
Windows."

Thanks,
Rahul

On Fri, Jun 3, 2022 at 1:05 PM Shawn Heisey <apa...@elyograg.org> wrote:

> On 6/3/2022 8:29 AM, Rahul Goswami wrote:
> > I am trying to build 8.11.1 from source. Which JDK version should I use?
>
> I have successfully built it with OpenJDK 8 and OpenJDK 11.  I have not
> tried anything newer and would not be surprised if it doesn't work.  JDK
> version 8 is the absolute minimum required for Solr 8.x.  Java versions
> 9 and 10 were short-lived feature releases, 8 and 11 are LTS.
>
> The build will likely not work on Windows.
>
> If you're going to build from source, I would recommend checking out
> branch_8_11 from git and building that.  There are a number of fixes
> after 8.11.1 that will be soon released as 8.11.2.
>
> Thanks,
> Shawn
>
>

Reply via email to