Ensuring Kotlin Compiler uses jvm version 1.8


Is there a way to ensure that a fresh installation of Intellij IDEA's Kotlin compiler uses jvm version 1.8?

We're bringing more people into using Intellij IDEA. When they build their first kotlin project they get an error message about incorrect bytecode from java 1.6 to 1.8.  With a lot of googling we were able to find out the solution, which was to manually change the Kotlin compiler's target jvm version from 1.6 to 1.8 . 


1 comment
Official comment

Looks like usability issue. Can you create a ticket with steps to reproduce and example project? (https://youtrack.jetbrains.com/issues/KT)

Please sign in to leave a comment.