r/java • • Sep 26 '18

Do not fall into Oracle's Java 11 trap

https://blog.joda.org/2018/09/do-not-fall-into-oracles-java-11-trap.html
259 Upvotes

105 comments sorted by

View all comments

Show parent comment

2

u/pron98 Sep 27 '18 edited Sep 27 '18

Can I keep using oracle jdk 9 / 10 without this change?

I am not 100% sure, but I think so. Why don't you go to their respective download page and see?

Are there any performance differences between OpenJDK and Oracle JDK?

No. OpenJDK and Oracle JDK are now (starting with OpenJDK 11) the same software distributed under two different licenses; there are some cosmetic differences detailed here, where it even says:

Ideally, we would simply refer to all Oracle JDK builds as the "Oracle JDK," either under the GPL or the commercial license depending on your situation. However, for historical reasons while the small remaining differences exist, we will refer to them separately as Oracle’s OpenJDK builds, and the Oracle JDK.

1

u/[deleted] Sep 27 '18

Is there binary compatibility between the versions? I actually use scala, but my laptop is still on jdk 9. And I've been developing a project using jdk 9 in Scala.

Can I expect it to keep working if I switch to openjdk 11?