Hi Nikita,

I was guessing something like that. I'll do my build steps on my Pi which
has Java 21 installed.

Thanks!
mrg


On Sat, Mar 15, 2025 at 2:55 PM Nikita Timofeev <ntimof...@objectstyle.com>
wrote:

> Hi Michael,
>
> Gradle is always a blocker when it comes to a newer Java, I believe the
> version we have is only good up to JDK 22.
> Here's an official compatibility info:
> https://docs.gradle.org/current/userguide/compatibility.html
>
> On Sat, Mar 15, 2025 at 4:46 PM Michael Gentry <blackn...@gmail.com>
> wrote:
>
> > Gradle is failing for me:
> >
> > [*INFO*] *--- *exec:1.6.0:exec *(gradle)* @ cayenne-gradle-plugin* ---*
> >
> > Starting a Gradle Daemon (subsequent builds will be faster)
> >
> >
> > FAILURE: Build failed with an exception.
> >
> >
> > * What went wrong:
> >
> > BUG! exception in phase 'semantic analysis' in source unit
> '_BuildScript_'
> > Unsupported class file major version 67
> >
> > > Unsupported class file major version 67
> >
> >
> > * Try:
> >
> > > Run with --stacktrace option to get the stack trace.
> >
> > > Run with --info or --debug option to get more log output.
> >
> > > Run with --scan to get full insights.
> >
> > > Get more help at https://help.gradle.org.
> >
> >
> > BUILD FAILED in 7s
> >
> > [*ERROR*] Command execution failed.
> >
> > *org.apache.commons.exec.ExecuteException*: *Process exited with an
> error:
> > 1 (Exit value: 1)*
> >
> > I have Java 23 installed for building. The Gradle tricks I used in the
> past
> > didn't help. Any ideas?
> >
> > Thanks,
> > mrg
> >
> >
> > On Fri, Mar 14, 2025 at 9:42 AM Nikita Timofeev <
> ntimof...@objectstyle.com
> > >
> > wrote:
> >
> > > Hi all,
> > >
> > > Here's Cayenne 4.2.2 again, with reimplemented fix for CAY-2876
> > >
> > > Release notes:
> > > https://github.com/apache/cayenne/blob/4.2.2/RELEASE-NOTES.txt
> > > Maven repo:
> > >
> >
> https://repository.apache.org/content/repositories/orgapachecayenne-1060/
> > > Assemblies:
> https://dist.apache.org/repos/dist/dev/cayenne/4.2.2-vote2/
> > >
> > > Please evaluate and cast your votes.
> > >
> > > --
> > > Best regards,
> > > Nikita Timofeev
> > >
> >
>
>
> --
> Best regards,
> Nikita Timofeev
>

Reply via email to