when is EOL on kotlin requiring 1.6,7,8,9 specific...
# compiler
j
when is EOL on kotlin requiring 1.6,7,8,9 specific jdk support to build? is 1.8 good enough ? or jdk 11 ?
d
Old JDKs are needed because Kotlin supports compilation with corresponding jvm targets. So requirement of some old JDK will be removed after this target won't be supported any more (for 1.6 it will happen in nearest future I hope)
You can point
JDK_16
and
JDK_17
to
JDK_18
j
it is confusing that there is a jvm ir but also these four seperate support targets, and these are the base project. i cannot get gradle to acknowledge type 60 bytecode so im rtfm'ing, kind of fumbling blindly pouring a lot of effort into fetching these relics
d
How existing of JVM IR correlates with support of JVM 1.6 bytecode?
j
i should have said target since i guess there is 1 IR and numerous targets, but the relationship for me is still undefined as to whther that makes 5 jvm targets or something else
d
Most of old jvm targets are used only for tests JVM 1.6 also used for building some libraries (stdlib, kotlin-reflect and their dependencies) All other modules are build with 1.8 by default, but if you point
JAVA_HOME
to java 11 there won't be any error AFAIR