https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
k

kpgalligan

12/22/2019, 6:00 PM
Anybody have experience using non-oracle JDK’s? Thinking something like Amazon Corretto or similar. You can still get the oracle jdk, but you need to make an oracle account, and the new license notices is kind of off putting. I’m thinking for iOS devs (and others) unfamiliar with the Java world, the whole Oracle install process would be best avoided.
a

Arkadii Ivanov

12/22/2019, 6:01 PM
I believe account is required only for LTS
k

kpgalligan

12/22/2019, 6:01 PM
I don’t know. I just went to the download page on oracle and it took me to their account sign up page.
a

Arkadii Ivanov

12/22/2019, 6:02 PM
I downloaded yesterday a non-LTS jdk 13 without sign-up
d

diesieben07

12/22/2019, 6:02 PM
I highly recommend to use https://adoptopenjdk.net/. They have open-source licensed OpenJDK binaries for everything you need
a

Arkadii Ivanov

12/22/2019, 6:03 PM
BTW I'm using open jdk boundled with AS
d

diesieben07

12/22/2019, 6:03 PM
This avoids any potential legal problems with the Oracle Java
k

kpgalligan

12/22/2019, 6:04 PM
@Arkadii Ivanov I have 2 dev machines. On this one I have JDK 8, but on the other one I have v11 for some reason, and intellij and/or gradle complains on all new project opens. Ideally the install would be v8, but that takes you to account sign up
d

diesieben07

12/22/2019, 6:05 PM
Oracle Java requires a license for anything but the latest version. That's why I recommend to switch to OpenJDK
(Which is the basis for Oracle Java anyways)
k

kpgalligan

12/22/2019, 6:08 PM
Just went through v8 download process again. They definitely need you to create an oracle account, which is a crap process, even if their license is OK for dev. Assume the openjdk version works plenty fine?
d

diesieben07

12/22/2019, 6:08 PM
I've been using it ever since Oracle changed their licensing and I haven't had a problem
k

kpgalligan

12/22/2019, 6:10 PM
Looking at the ‘about’ page. This is pretty great. Thanks for the link!
a

Arkadii Ivanov

12/22/2019, 6:11 PM
Yeah for v8 you need an account
k

kpgalligan

12/22/2019, 6:14 PM
Trying to figure out least-worst process for iOS devs who may not have a JDK installed. Oracle made that flow pretty terrible, even if it’s still “free”.
j

jdiaz

12/22/2019, 6:16 PM
I've been using Corretto since it launched and no issues. Anyways Amazon is also collaborating with openjdk so I'm unsure what would be the difference between both
j

jw

12/22/2019, 6:52 PM
AdoptOpenJDK or sdkman. There's no reason to use an Oracle JDK anymore
💯 10
j

jdiaz

12/22/2019, 8:40 PM
Definitely, sdkman is so helpful
i

ian.shaun.thomas

12/22/2019, 9:58 PM
There's no reason to use an Oracle JDK anymore
some masochist is going to tell you to hold their beer
k

Konstantin Petrukhnov

12/23/2019, 5:34 AM
openjdk8 don't have e.g. javafx bundled with it
some applications may need it
if i recall correctly last good one from oracle is jdk8-202 (which is about 1 year old)
2 Views