Failed to calculate the value of task ':kotlin-stdlib:compileJava' property 'javaCompiler'

I’m trying to build 1.6.20-M1-release

kotlin/libraries/stdlib/jvm/build.gradle’ line: 89

A problem occurred evaluating project ‘:kotlin-stdlib’.

Could not resolve all dependencies for configuration ‘:kotlin-stdlib:commonSources’.
Failed to calculate the value of task ‘:kotlin-stdlib:compileJava’ property ‘javaCompiler’.
No compatible toolchains found for request filter: {languageVersion=6, vendor=any, implementation=vendor-specific} (auto-detect true, auto-download true)

How do I set up javaCompiler on mac?

1 Like

Hi @yevgeny,
Were you able to resolve this issue?

kotlin.build.isObsoleteJdkOverrideEnabled=true
in your local.properties