Try changing your preferences to not use Gradle.
I say this not really knowing what is causing the error other than I had a similar issue with my first attempt at running an app using Mendix 10 and got an error from Gradle. When I turned it off, I was able to compile.
I’m sure someone smarter than me will have a more technical solution.
Hi Balachandrudu,
I had the same problem while using a different java sdk than the one provided by the Mendix Studio Pro installer. I fixed the problem reverting to the one that the installer provides called “Eclipse Temurin” as shown below in Edit>Preferences:
I hope that helps, regards!
I had the same problem with the JDK version 21.0.6.7. It was solved when I deleted the directories of the older versions. Apparently, installing a newer version does not completely delete the older ones and then the system has problems with the path's