Hacker News new | past | comments | ask | show | jobs | submit login

And that's good that package managers ship only openjdk. When I migrated to Linux I didn't know better but as "openjdk" was easier to install than Oracle JDK I used "openjdk". It turns out it works very well, actually I can't tell the difference.



OpenJDK is the reference implementation now so if you did find a functional difference, Oracle is in error.


Good to hear that!

Just in case someone is interested in references Wikipedia has them near the text:

> OpenJDK is the official reference implementation of Java SE since version 7.

Source: https://en.wikipedia.org/wiki/OpenJDK


I honestly don't know why anyone would keep using Oracle's version of the JDK over the OpenJDK, other than them just being used to it.


I work with many Linux Minecraft players and we recommend using Oracle Java if OpenJDK refuses to play nice with the proprietary drivers.


Huh. I've used OpenJDK since the very early days of Minecraft, never had an issue.


Because you are stuck to use Oracle Java 8?


Unfortunately, many people add a repository with Oracle JDK to their package managers and install the JDK from there, due to some perceived better compatibility and/or extra bug fixes. (And in my experience, this is true for the Java plugin; the "official" plugin seems to work better than the IcedTea plugin.)


Confluence is an example of a piece of software that wouldn't run correctly at all under OpenJDK.

Even today on the Atlasian docs, they provide a Docker image of Confluence to evaluate, but if you buy a production license, you are required to build an OracleJRE Docker container (they provide instructions) for production.

It's been years and they still can't support OpenJDK ... it makes me wonder what weird proprietary crazy reflection shit they're doing in there.


Last time I tried to run Jira with OpenJDK, I stumbled upon some encryption algorithm not supported in OpenJDK. I didn't research further. But that was a long time ago, nowadays I bet that OpenJDK will work just as well.


The encryption algos are not supported with Oracle java either. The stronger algos have a separate licence and needs to be downloaded manually for either java sdk


I ran Jira with OpenJDK 8 on FreeBSD, everything worked fine.


On ARM openjdk has a lot of issues while oracle jdk/jre runs smoothly. Many apps will just crash under openjdk and if they run are much slower also on intel. It should be easy to benchmark this.

It is a reason why we moved to .net core entirely. I have nothing running Java anymore. Shame as I liked Clojure somewhat.


A few years ago, Minecraft simply wouldn't run nearly as good on OpenJRE, not even the server - it was several times slower. Not sure how it is today since I've stopped playing around 5 years ago.


JavaFX is difficult to use under OpenJDK. I think it has become a library on Java 11, so at least that's a step in the right direction.


Yes, it has its own website now.

https://openjfx.io/


I've seen issues with really minor difference in OpenJDK and Sun JDK, that forced people to stick with Sun JDK (like some library somewhere doesn't properly work with OpenJDK).




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: