Hello Jacques,
Thanks for the help, I changed to JDK 8 and having some progress, but still
getting an error. How can I fix this?
Regards,
Emad
C:\apache-ofbiz-18>gradle --warning-mode=none loadall ofbiz
> Task :compileJava UP-TO-DATE
> Task :compileGroovy UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :jar UP-TO-DATE
> Task :assemble UP-TO-DATE
> Task :checkstyleMain FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':checkstyleMain'.
> Unable to create Root Module: config
> {C:\apache-ofbiz-18\config\checkstyle\checkstyle.xml}, classpath
> {C:\apache-ofbiz-18\build\classes\java\main;C:\apache-ofbiz-18\build\classes\groovy\main;C:\apache-ofbiz-18\build\resources\main;C:\Users\20102\.gradle\caches\modules-2\files-2.1\apache-xerces\xercesImpl\2.9.1\7bc7e49ddfe4fb5f193ed37ecc96c12292c8ceb6\xercesImpl-2.9.1.jar;C:\Users\20102\.gradle\caches\modules-2\files-2.1\com.google.zxing\core\3.3.3\b640badcc97f18867c4dfd249ef8d20ec0204c07\core-3.3.3.jar;C:\Users\20102\.gradle\caches\modules-2\files-2.1\com.googlecode.concurrentlinkedhashmap\concurrentl
> On 2 May 2022, at 9:19 AM, Jacques Le Roux <[email protected]>
> wrote:
>
> Hi Emad,
>
> There is a JDK conflict, major version 62 is JDK 17, not yet supported by
> OFBiz only officially JDK 8, the demos are running with JDK 11.
>
> Is that a clean (1st time build) for this instance on this machine? Else try
> a clean before building.
>
> If it's not that, maybe a JDK conflict, especially if you use IntelliJ:
> https://stackoverflow.com/questions/67079327/how-can-i-fix-unsupported-class-file-major-version-60-in-intellij-idea
>
> Jacques
>
> Le 02/05/2022 à 04:37, Emad Radwan a écrit :
>> Unsupported class file major version 62
>