hello my mcreator seems unable to run client for some reason

Started by Dragon_Firezx on

Topic category: Help with MCreator software

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hello my mcreator seems unable to run client for some reason

i made a simple mod with 1 item and 1 potion effect and when i try to run it it says >could not create task ":run client:"

 


Executing Gradle task: runClient
Build info: MCreator 2024.4.51119, forge-1.20.1, 64-bit, 7242 MB, Windows 10, JVM 21.0.4, JAVA_HOME: G:\online games\Mcreator\jdk, started on: 2024-12-23-12:59:42

Invalid Java installation found at 'C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11' (Auto-provisioned by Gradle) auto-detected auto-provisioned. It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.
Invalid Java installation found at 'C:\Users\WORK UEFI\.mcreator\gradle\jdks\eclipse_adoptium-17-amd64-windows\jdk-17.0.13+11' (Auto-provisioned by Gradle) auto-detected auto-provisioned. It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'dk'.
> 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/7ff9b97e0da2e21666aa844b1bee2435/r…', due to: java.io.IOException: Unable to delete directory 'C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17'
Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory.
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\bin\dt_socket.dll
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\bin\java.dll
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\bin\java.exe
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\bin\jdwp.dll
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\bin\jimage.dll
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\bin\jli.dll
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\bin\jsvml.dll
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\bin\msvcp140.dll
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\bin\server\jvm.dll
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\bin\server
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\bin\vcruntime140.dll
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\bin\vcruntime140_1.dll
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\bin
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\lib\modules
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11\lib
- C:\Users\WORK UEFI\.mcreator\gradle\jdks\OpenJDK17U-jdk_x64_windows_hotspot_17\jdk-17.0.13+11
- and more ...).
* 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 38s

BUILD FAILED
Task completed in 39 seconds

 

this is what the console tells me pls help

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
did you try to turn on the…
Mon, 12/23/2024 - 14:33

did you try to turn on the graddle again? By me the first time fails, yet second works, idk why it happens, yet it is working