Topic category: Troubleshooting, bugs, and solutions
So this is my problem:
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> error: release version 17 not supported
* 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 4s
1 actionable task: 1 executed
I already found a forum topic like this one I'm making but the reason I'm creating this one is the fact that solution there doesn't work and no moderator replied. I do not know what is this caused by. I have latest version of Java (19) and I also tried this on Java 8 but no luck. Just a week ago everything worked - no updates since then so I have no idea what's wrong.
hm, i first time see error like this one, did you tried to reinstall MCreator itself?
AV probably removed some of the MCreator files. Reboot PC, make sure AV is not deleting files and reinstall MCreator
It workede, however I checked my AV's history, it didn't delete anything...
Maybe it did silent delete, some AVs do this
I solved this problem by closing the program, then deleting the ".gradle" folder inside the "workspace", and also deleting the "generatorGrandleCache" and "setupInfo" files inside the ".mcreator" folder. So the program "rebuilt" itself and worked again. However, I recommend to use this solution only at your own risk, be sure to make a backup first!