I got an error when I tried to start the client and idk what to do

Started by tufnut on

Topic category: Help with MCreator software

Last seen on 15:01, 4. Aug 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I got an error when I tried to start the client and idk what to do

Executing Gradle task: runClient
Build info: MCreator 2022.1.20510, forge-1.16.5, 64-bit, 16314 MB, Windows 10, JVM 17.0.1, JAVA_HOME: G:\MCreator\jdk, started on: 2022-07-31-14:31:15
 
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Users\bonyb\.mcreator\gradle\jdks\jdk8u342-b07\bin\java.exe
* 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 1s
1 actionable task: 1 executed
 
BUILD FAILED
Task completed in 1 second

 

This is what the console says

 

 

Last seen on 15:46, 13. Oct 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
...Weird. Are you running…
Sun, 07/31/2022 - 13:36

...Weird. Are you running anything else in the background? Also, do you have Minecraft Java edition installed on your computer?

Last seen on 15:01, 4. Aug 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just the antivirus, vanguard…
Sun, 07/31/2022 - 14:56

Just the antivirus, vanguard, steam and the wallpaperengine are running on my computer, and yes, I have minecraft java edition on my pc. The most interesting thing is that 2 days ago this function worked perfectly for me. 

Last seen on 15:46, 13. Oct 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I honestly don't know- I…
Sun, 07/31/2022 - 16:41

I honestly don't know- I guess restart the computer if you haven't already. You could also try backing up your workspaces and reinstalling Mcreator if it still isn't working.

Last seen on 15:01, 4. Aug 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I stopped the antivirus,…
Sun, 07/31/2022 - 16:49

I stopped the antivirus, reinstalled the mcreator, and still nothing, so idk xd