https://kotlinlang.org logo
#getting-started
Title
# getting-started
l

Luffy D. Monkey

10/07/2021, 4:33 PM
Hi, I recently cloned kotlin github repo, but facing some issue with building it. gradle task
Copy code
:kotlin-stdlib:commonSources
fails with
Copy code
No compatible toolchains found for request filter: {languageVersion=6, vendor=any, implementation=vendor-specific} (auto-detect true, auto-download true)
I am currently on macOS and have installed java6 using brew as mentioned in the README. How to resolve this issue?
a

Alexey Belkov [JB]

10/08/2021, 12:56 PM
Try to use
kotlin.build.isObsoleteJdkOverrideEnabled=true
as mentioned in https://github.com/JetBrains/kotlin#build-environment-requirements. Also, #compiler is a better place for questions about the Kotlin project itself.
6 Views