Using latest IJ 2021.1 that came out today. I select JDK 14 and then advance through the wizard and it only gives me option to go up to 13. Is that a bug?
04/07/2021, 11:42 AM
thats the target vm of the bytecode. iirc kotlin only uses bytecode up to version 13 for now.
04/07/2021, 11:52 AM
Interesting... What should I use? I remember reading that you need to use jdk 14 in order to build dmgs, etc. But 11 is min supported jdk for compose desktop. Should I select target jvm 1.8 or 11 then?
04/07/2021, 11:55 AM
i would recommend 11
its a LTS version
04/07/2021, 4:11 PM
It is completely normal to have bytecode targeting a lower version than the JDK or JRE in use
If you need 14 for jlink, then go ahead and use 14. the target JVM doesn't matter (as long as it's not greater)