Hello, what is the JDK requirement for KMM? From t...
# multiplatform
v
Hello, what is the JDK requirement for KMM? From the docs
Make sure that you have JDK installed. You can get it from its <https://www.oracle.com/java/technologies/javase-downloads.html|official website>.
Can I use e.g. openjdk11 or do I have to use the oracle one?
v
You can use any jdk but openjdk has some performance issues. Note that there is bundled jdk in the IntelliJ/AS you can use.
m
If you're on MacOS, Azul + Brew works quite well: https://twitter.com/JakeWharton/status/1463524757765251082
I'm on 17 lately but 11 should be good too
b
You need 11+ as compose uses jpackage and jlink to build native installers. The jdk vendor doesn't matter here.
r
also be awere that you need aarch64 version of jdk if you have Apple silicon(M1/M2) on your machine. Some jdks doesn’t have aarch64 variant. Zulu has
a
How about corretto-17 by Amazon. I use that for Gradle build though
b
As long as it's 11+