FWIW I didn't change my IntelliJ installation setup on macOS for this
Gradle / Solr build change.  In the project settings for Solr, I chose JDK
21 and that's all.

I was also able to build branch_9x with JDK 21 just fine.

On Sat, Oct 26, 2024 at 10:58 AM Gus Heck <gus.h...@gmail.com> wrote:

> That's far more polite than the linux edition, where it is much less
> helpful and entirely fails to run:
>
> Invalid Gradle JDK configuration found. Open Gradle Settings
>
> On Sat, Oct 26, 2024 at 10:30 AM Christos Malliaridis <
> malliari...@apache.org> wrote:
>
> > So after a bit of trying around, I am facing the error message on Mac and
> > Windows with the latest stable IDE version of IntelliJ. The error message
> > is returned at the end of every ./gradlew check and is probably coming
> from
> > the IDE and not Gradle itself. Just for reference what the message looks
> > like:
> >
> > > Your build is currently configured to use incompatible Java 21.0.5 and
> > Gradle 8.4. Cannot sync the project.
> > >
> > > We recommend upgrading to Gradle version 8.8.
> > >
> > > The minimum compatible Gradle version is 8.5.
> > >
> > > The maximum compatible Gradle JVM version is 20.
> > >
> > > Possible solutions:
> > >  - Upgrade to Gradle 8.8 and re-sync
> > >  - Upgrade to Gradle 8.5 and re-sync
> > >  - Use Java 20 as Gradle JVM: Open Gradle settings
> >
> > Since everything keeps working fine though, there is no "blocking issue"
> > that needs to be addressed, at least from my perspective.
> >
> > However, if there is no blocker for updating Gradle, I'd like to address
> > this in the upcoming dependency updates. Lucene is on Gradle 8.10
> already,
> > so this would probably be a good candidate to keep changes in sync.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
> > For additional commands, e-mail: dev-h...@solr.apache.org
> >
> >
>
> --
> http://www.needhamsoftware.com (work)
> https://a.co/d/b2sZLD9 (my fantasy fiction book)
>

Reply via email to