Java: Difference between revisions

imported>Volth
Using Oracle JDK instead of Open JDK: oraclejdk.accept_license does not work and was removed
imported>Volth
Line 39: Line 39:
{
{
   nixpkgs.config.allowUnfree = true;
   nixpkgs.config.allowUnfree = true;
   environment.systemPackages = with pkgs; [
   programs.java = { enable = true; package = pkgs.oraclejre8; };
    oraclejre8
  ];
}
}
</syntaxhighlight>
</syntaxhighlight>