Hello guys, should i install java8 or java10 for k...
# getting-started
r
Hello guys, should i install java8 or java10 for kotlin to compile from terminal?
d
It shouldn't matter but I recommend java8.
r
Oh thanks :) it's asking me to create Oracle account to download JDK... Is there an alternative way to get JDK? The older ppa source seems to be deprecated
d
Use OpenJDK
👆 3
👍 2
e
BTW: Any reason not to use Java 11 with Kotlin? (I know there are no real reason to prefer Java 11 over 8 if you are using Kotlin, because Kotlin brings more and better features (than Java 11) - but assume you landscape is already standardized on Java 11.)
d
It's more of a gradle plugin issue than a Kotlin issue. Some weird errors can turn up in the plugin when using later versions of jdk. (Although most of the ones I've seen have been fixed).
m
JDK11 brings many benefits to the JVM, so worthwhile to upgrade your servers to it (Assuming that's the type of dev you're doing)
3