JDK versions 1.6 through 17 are supported by Kotlin 1.6.0. (the latest released version at the moment).