Error: Release version 17 not supported.

Started by Kingpvz on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 15:48, 28. Jun 2023
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error: Release version 17 not supported.

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.

Last seen on 16:39, 2. Sep 2023
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hm, i first time see error…
Wed, 03/22/2023 - 17:00

hm, i first time see error like this one, did you tried to reinstall MCreator itself?

AV probably removed some of…
Wed, 03/22/2023 - 19:07

AV probably removed some of the MCreator files. Reboot PC, make sure AV is not deleting files and reinstall MCreator

Last seen on 15:48, 28. Jun 2023
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It workede, however I…
Thu, 03/23/2023 - 15:47

It workede, however I checked my AV's history, it didn't delete anything...

Last seen on 15:24, 3. Aug 2023
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I solved this problem by…
Sat, 07/08/2023 - 23:38

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!