Skip to content

Default 'jdk' and 'jre' to openjdk and openjre, respectively, on supporting systems#116

Merged
shlevy merged 1 commit intoNixOS:masterfrom
shlevy:openjdk-default
Aug 27, 2012
Merged

Default 'jdk' and 'jre' to openjdk and openjre, respectively, on supporting systems#116
shlevy merged 1 commit intoNixOS:masterfrom
shlevy:openjdk-default

Conversation

@shlevy
Copy link
Member

@shlevy shlevy commented Aug 26, 2012

With this change, java packages will build with openjdk by default. The primary driver for this is legal: The build farm is not allowed to distribute the proprietary Oracle jdk6, and so it is not allowed to distribute any packages that depend on it. In my view, this is a purely beneficial change: from the perspective of the build farm, packages will go from undistributable due to licensing to either distributable or undistributable due to failed build (if the package doesn't build properly with openjdk), and from the perspective of the end user it is very easy to override the jdk on a package-by-package basis or for all of nixpkgs in the nixpkgs configuration.

@edolstra
Copy link
Member

Yay! Great to have legal Java support after so many years :-)

@shlevy shlevy merged commit 016b665 into NixOS:master Aug 27, 2012
edolstra pushed a commit to edolstra/nixpkgs that referenced this pull request Oct 1, 2013
Add /run/nss to LD_LIBRARY_PATH
@primeos primeos mentioned this pull request Aug 19, 2018
12 tasks
Profpatsch pushed a commit that referenced this pull request Jun 20, 2020
@Janik-Haag Janik-Haag added the 12.first-time contribution This PR is the author's first one; please be gentle! label Jun 22, 2023
modulitos pushed a commit to modulitos/nixpkgs that referenced this pull request Nov 24, 2024
license nixpkgs-update under CC0-1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants