Posted April 29, 20223 yr Getting error when trying to start gradle build at CompileJava Execution failed for task ':compileJava'. > Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_331 contains a valid JDK installation.
April 29, 20223 yr Author Yes, i tried all, changing sdk, JAVA_HOME, deleting gradle cache and nothing helps. Edited April 29, 20223 yr by olegopana
April 29, 20223 yr Author Im using JDK but gradle using JRE and i cannot fix this. Edited April 29, 20223 yr by olegopana
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.