Hello guys, should i install java8 or java10 for kotlin to compile from terminal?
d
Dominaezzz
11/20/2019, 12:49 PM
It shouldn't matter but I recommend java8.
r
Rajiv
11/20/2019, 12:50 PM
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
Dominaezzz
11/20/2019, 1:01 PM
Use OpenJDK
👆 3
👍 2
e
eekboom
11/20/2019, 1:42 PM
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
Dominaezzz
11/20/2019, 1:44 PM
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
Mike
11/20/2019, 1:47 PM
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)