3 ms·
Yes, OpenJDK is the project which contains both the JRE and JDK. When Sun opensourced their Java implementation it named it OpenJDK. The only reason their "clos
by jsiepkes 8y ago
Yes, OpenJDK is the project which contains both the JRE and JDK. When Sun opensourced their Java implementation it named it OpenJDK. The only reason their "closed source" distro of OpenJDK (ie. what is now Oracle JRE/JDK) wasn't killed off was because of a couple of minor things which they couldn't opensource like the font rendering engine. In OpenJDK those are replaced with alternatives. Apparently they didn't want to force their users to deal with any possible incompatibility so they just kept distributing this as the Sun (and now Oracle) JDK / JRE. But there is really nothing special about it.
I recommend Azul's OpenJDK distro because it is intended to be a drop in replacement of the Oracle JRE in the broadest sense (easy to use download page, etc.). Getting OpenJDK is a bit harder; the webpages are a bit unclearer. Windows files harder to find. But if you already have OpenJDK via your Linux distro, can download it yourself, etc. I would say; By all means use it!
- iamcreasy 8y agoCan I expect Java Mission Control, Java VisualVM and a plethora of other 3rd party tools to work as expected with OpenJDK / Azul Zing? I was going through Azul Zing documentation I noticed that it uses different C4 garbage collector algorithm - which is different that the one used one OracleJDK. Since I am following some tutorials on JVM on Pluralsight, I am guessing I should pick OpenJDK over Azul. Am I right?
- jsiepkes 8y agoI just noticed I've mixed up the names of Zulu and Zing; Zulu is the OpenJDK distro, Zing is their own JVM which has C4. So you should use Zulu. Zulu doesn't have C4. Sorry about that. Since Zulu is basically OpenJDK it should all just work. Though mission control was opensourced very recently so it might not be in their codebase yet.