Topic category: Troubleshooting, bugs, and solutions
i dont know how i can make mcreator find jdk17 which is already installed on my pc
below is the error output:
Executing Gradle task: runClient
Build info: MCreator 2025.1.13416, forge-1.20.1, 64-bit, 40184 MB, Windows 11, JVM 21.0.5, JAVA_HOME: D:\Minecraft\mcCreator\MCreator\jdk, started on: 2025-06-09-20:30:15
Loaded APIs: mcreator_link_1.20.1
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'mcCreatorWorkspace'.
> 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 locally installed toolchains match and toolchain auto-provisioning is not enabled.
* Try:
> Learn more about toolchain auto-detection at https://docs.gradle.org/8.8/userguide/toolchains.html#sec:auto_detection.
> 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 22s
BUILD FAILED
Task completed in 22 seconds
Try clearing gradle caches https://mcreator.net/wiki/gradle-setup-errors