MCreator 2022.2 - version 17 is not supported (SOLVED)

Started by Mehliug on

Topic category: Troubleshooting, bugs, and solutions

Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator 2022.2 - version 17 is not supported (SOLVED)
Thu, 10/20/2022 - 19:43 (edited)

Hello,

I've been meeting some really annoying issues with MCreator version 2022.2, where I cannot build my workspace. I only remember putting my pc in sleep mode, and then doing something else. When I came back and got the laptop out of sleep mode, I couldn't build my workspace anymore. I tried closing and re-opening MCreator of course, I tried downloading updates for Java and I searched on the forum if there was similar case. I only found https://mcreator.net/forum/47990/mcreator-java-version-invalid this post but it is old enough, and I couldn't get much out of it... I also tried download newer/newest Java versions (Java 19) after checking for Updates and nothing changes.

Here is the error log:

Executing Gradle task: runClient
Build info: MCreator 2022.2.34517, forge-1.18.2, 64-bit, 16078 MB, Windows 11, JVM 17.0.3, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2022-10-20-20:29:52

> 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 3s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 3 seconds
Edited by Mehliug on Thu, 10/20/2022 - 19:43
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update: turns out that…
Thu, 10/20/2022 - 19:42

Update: turns out that restarting my laptop yet another time fixed the issue 🤷‍♀️. Probably updating Java, and installing the Java 19 JDK helped as well.