NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.07k stars 14.13k forks source link

Remove old / unused JDK derivations #313208

Open jlesquembre opened 5 months ago

jlesquembre commented 5 months ago

Part of https://github.com/NixOS/nixpkgs/issues/313216

Issue description

Currently, we have multiple JDK flavors:

There might be others as well. Please let me know if I missed anything.

With the goal of simplifying the JDK infrastructure on nixpkgs, I suggest:

Can we also remove OracleJDK? I'm not sure if it's needed anymore.

I also believe we could remove Zulu if we are able to compile OpenJDK forDarwin.

willcohen commented 3 months ago

I think this sounds good. Re Oracle SDK, I personally do not use it, but is there a use case for people who would want to deploy that install via NixOS if they are purchasing support from Oracle? My initial thought is that that'd something which a user of paid software would handle on their own. For anyone using the software free of charge, OpenJDK seems like it should suffice just fine.