Does anybody know if I can run kotlin code generat...
# announcements
z
Does anybody know if I can run kotlin code generated with javac version 1.8 with a java version 10 jre?
j
You can run code generated for 1.8 on a newer JDK and usually you will have no problem (the exceptions are usually relevant for very advanced use cases). This is a basic feature of the JDK and the Kotlin team support that. What I am unsure about, and doubt will work, is calling Java code built targeting JDK10 bytecode from Kotlin, which it sounds like you need to do?
z
yeah that’s what I need to do
I managed to support that by changing my JDK to 10, but having my kotlin compile target stay at 1.8