Unable to find tools.jar
ytcyde opened this issue ยท 8 comments
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_251 contains a valid JDK installation.
I have tried putting tools.jar when I install java and tools.jar doesn't come pre-installed.
I know, that's where I usually get my litematica mods not from curse forge. the problem is when I use CMD for gradlew.
You have a JRE and you need a JDK
look here: https://jdk.java.net/
you can get here the latest version: https://masa.dy.fi/mcmods/client_mods/