Groovy Compiler
"James Poli via users" <users-GSC0n/0aZo1d/SJB6HiN2Ni2O/[email protected]> Fri, 13 Dec 2024 00:14:39 +0000
| Newsgroups | gmane.comp.lang.groovy.user |
|---|---|
| Message-ID | <BN8PR05MB6225D75AACD2971EEC8E042C90382@BN8PR05MB6225.namprd05.prod.outlook.com> |
Our company has upgraded to Groovy 4 and JDK 21. However, one platform we support, MVS, only supports a JDK 8 runtime. When running a class compiled with Groovy 4, an exception results: ... java.lang.UnsupportedClassVersionError: JVMCFRE199E bad major version 61.0 of class=..., the maximum supported major version is 52.0; offset=6 Can we cross-compile or force Groovy to generate bytecodes that support JDK 8? I appreciate any help you can provide. Jim