Hello devs,

forget the previous email, I solved it.
I've changed the java version to correct one (11), but the gradle bash
script did read the JAVA_HOME env variable that was set in
/etc/environment, so it kept reading the older Java version. 😅

All fine.

Have a nice weekend.

Giulio


Il giorno gio 6 ott 2022 alle ore 15:41 Giulio Speri - MpStyle Srl <
giulio.sp...@mpstyle.it> ha scritto:

> Hello devs,
>
> I am writing because I am facing a build issue with the trunk revision.
>
> The error is the following:
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
>> java.lang.UnsupportedClassVersionError:
>> at/bxm/gradleplugins/svntools/SvnToolsPlugin has been compiled by a more
>> recent version of the Java Runtime (class file version 55.0), this version
>> of the Java Runtime only recognizes class file versions up to 52.0
>> > at/bxm/gradleplugins/svntools/SvnToolsPlugin has been compiled by a
>> more recent version of the Java Runtime (class file version 55.0), this
>> version of the Java Runtime only recognizes class file versions up to 52.0
>
>
> I already tried the following without success:
> - changed local Java version (JDK 8, openjdk11, openjdk17) and made a
> build try after each change;
> - cleared local gradle cache;
> - deleted and re-cloned local trunk repository;
>
> I am sure I am missing something easy, but I really can't point out what.
> I read that there has been something similar for R18, that has been fixed
> (indeed it builds).
>
> Has anyone faced a similar issue ?
>
> Thank you in advance,
>
> Giulio
>
> --
> Giulio Speri
>
>
> *Mp Styl**e Srl*
> via Antonio Meucci, 37
> 41019 Limidi di Soliera (MO)
> T 059/684916
> M 347/0965506
>
> www.mpstyle.it
>
>
>

-- 
Giulio Speri


*Mp Styl**e Srl*
via Antonio Meucci, 37
41019 Limidi di Soliera (MO)
T 059/684916
M 347/0965506

www.mpstyle.it

Reply via email to