Open auserthatistrash opened 6 years ago
for me the same .... if there is any solution please contact me !
Same problem here, I think it's with java version
i have installed all java versions nothing helped
Consider downloading the pre-built version: https://github.com/Jire/Charlatano/releases/download/1.0.8/Charlatano.1.0.8.zip
Your gradle uses environment variables to determine whether java should be used. Set your JAVA_HOME to the JDK installation folder and try again.
Go visit this page, it worked for me
https://wajahatkarim.com/2018/06/gradle-doesnt-run-because-it-cant-find-tools.jar-in-jre/
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':compileKotlin'.
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 Press any key to continue . . .
any idea how i can fix this? how do i change gradle to use JDK and not jre?