Reputation: 175
In the IntelliJ IDEA (Community 2021.1) Settings for the Kotlin Compiler, there's a "Target JVM version" menu with the following confusing options: 1.6, 1.8, 9, 10, 11, 12, 13, 14, 15, 1.6.
Are these in chronological order?
Why are there two 1.6's?
Which one is the latest?
Why don't these match the JVM versions here?
Upvotes: 1
Views: 385
Reputation: 25256
Are these in chronological order?
yes, going down. (in the second image, I guess not)
Why are there two 1.6's?
there aren't, it's a 1.6 and a 1.8, and one is probably from a different java compiler producer
Which one is the latest?
Why don't these match the JVM versions here?
Likely because it is hard to support every version of java that is released.
Upvotes: 2