Run client error

Started by supermcbird on

Topic category: Troubleshooting, bugs, and solutions

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Run client error

Mcreator 2024.4 generator 1.20.1 forge

I cant run client on 1.20.1 forge but it launch perfect on 1.21.1 neoforge

Crash report:

Executing Gradle task: runClient
Build info: MCreator 2024.4.52410, forge-1.20.1, 64-bit, 16322 MB, Windows 10, JVM 21.0.4, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2025-11-12-17:05:34

FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'lasthope'.
> Could not create task ':runClient'.
> Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
> Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=17, vendor=any, implementation=vendor-specific} for WINDOWS on x86_64.
> No matching toolchain could be found in the locally installed toolchains or the configured toolchain download repositories. Some toolchain resolvers had provisioning failures: foojay (Unable to download toolchain matching the requirements ({languageVersion=17, vendor=any, implementation=vendor-specific}) from 'https://api.foojay.io/disco/v3.0/ids/52fa104f4f641439587f75dd68b31bc2/r…', due to: Could not copy file 'C:\Users\User\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.17+10\jmods\java.desktop.jmod' to 'C:\Users\User\.mcreator\gradle\jdks\eclipse_adoptium-17-amd64-windows\jdk-17.0.17+10\jmods\java.desktop.jmod'.).
* Try:
> Learn more about toolchain auto-detection at https://docs.gradle.org/8.8/userguide/toolchains.html#sec:auto_detection.
> Learn more about toolchain repositories at https://docs.gradle.org/8.8/userguide/toolchains.html#sub:download_repo….
> 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 6s

BUILD FAILED
Task completed in 6 seconds

 

Help me please