Open igordmn opened 3 years ago
@igordmn why does the minimal version for desktop must be Java 11?
@igordmn why does the minimal version for desktop must be Java 11?
This is our decision for desktop - to support only Java 11+. https://github.com/JetBrains/compose-jb/tree/master/tutorials/Getting_Started#prerequisites
I don't understand the rationale behind this, and what exactly is required. Should we limit Kotlin JVM target bytecode version or Java compile target version? Or is it about runtime JDK?
It is about runtime JDK.
We can use features which was only introduced in Java 11.
Minimal version for Android target should be Java 1.8 Minimal version for Desktop target should be Java 11
If Java has incompatible version we should throw exception with user-friendly message.