workspace set up failed / mod could not be exported. help me :(

Started by KaMiLoz_ on

Topic category: Help with MCreator software

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
workspace set up failed / mod could not be exported. help me :(

first of all. My new workspaces setting up for 20-45 second.

 Executing Gradle synchronization tasks
Build info: MCreator 2024.4.52410, forge-1.20.1, 64-bit, 7670 MB, Windows 10, JVM 21.0.4, JAVA_HOME: C:\Program Files\MCreator\jdk, started on: 2026-02-15-13:57:43

> Task :nothing UP-TO-DATE

BUILD SUCCESSFUL in 19s
Task completed in 20 seconds
 

after that i do export my mod to test it. And my mod failed for export.

Executing Gradle task: runClient
Build info: MCreator 2024.4.52410, forge-1.20.1, 64-bit, 7670 MB, Windows 10, JVM 21.0.4, JAVA_HOME: C:\Program Files\MCreator\jdk, started on: 2026-02-15-14:02:20

FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'past_legacy'.
> 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 internal failures: foojay (Connection reset).
* 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 21s

BUILD FAILED
Task completed in 21 seconds

 

How to fix it?????