Build failed. Could not find tools.jar

Started by SHORT on

Topic category: Help with MCreator software

Last seen on 17:45, 9. Aug 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Build failed. Could not find tools.jar

Hi, im using MCreator  2021.2 Snapshot, and when i do something i receive this output.

I tried edit my JAVA_HOME value to C:\Program Files\Java\jre1.8.0_291, but nothing happened. I tried reload Gradle Project, but dont work. I need fix this, what i can do?

 

Executing Gradle task: build
Build info: MCreator 2021.2.23417 EAP (23417), forge-1.16.5, 64-bit, 4004 MB, Windows 8.1, JVM 11.0.11, JAVA_HOME: C:\Users\Short\Desktop\MCreatorEAP20212b23417\jdk
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_291 contains a valid JDK installation.
* 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 25s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 25 seconds
 

Last seen on 17:45, 9. Aug 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I just need wait?
Wed, 06/16/2021 - 16:32

I just need wait?