0
Can somebody point me to the correct steps to install Oracle JDK with Nix package manager? I tried the following so far:
- https://nixos.org/nixos/packages.html#jdk - oracle is not there
nix-env -i oraclejdk
- package not foundnix-env -qaP|grep oracle
- no jdk- https://nixos.wiki/wiki/Java - has no effect
- https://nixos.wiki/wiki/FAQ/How_can_I_install_a_proprietary_or_unfree_package%3F - has no effect
I did Nix multi user install on Debian as described here: https://nixos.org/nix/manual/#chap-installation. I did not change any configuration, and installation appears to be working fine (e.g. I can install scala, but it uses openjdk). My channels:
> nix-channel --list
nixpkgs https://nixos.org/channels/nixpkgs-unstable
Thank you.
Where are you getting the package from? – fixer1234 – 2019-06-25T00:51:01.683
I assumed it's expected to be in the "default" channel added by the installer - a lot of the instructions say that it's supposed to appear once you enable unfree packages, and it is available in GitHub repo. Am I supposed to get it from somewhere else?
– qsd – 2019-06-26T05:07:10.493You need to get it from somewhere. The question lists all the places where it isn't. You need to find a place where it is, and get it. – fixer1234 – 2019-06-26T05:24:52.180
Do you know where I can get it? – qsd – 2019-06-28T04:53:47.420
Unfortunately, not a clue. – fixer1234 – 2019-06-28T04:59:48.383