Java: Difference between revisions
imported>Volth →Using Oracle JDK instead of Open JDK: oraclejdk.accept_license does not work and was removed |
imported>Volth →Using Oracle JDK instead of Open JDK: use programs.java |
||
| Line 39: | Line 39: | ||
{ | { | ||
nixpkgs.config.allowUnfree = true; | nixpkgs.config.allowUnfree = true; | ||
programs.java = { enable = true; package = pkgs.oraclejre8; }; | |||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||