How to install java in NixOS?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
On NixOS
, I am trying to install java
in order to compile my code from the command line.
I do not see the java compiler listed anywhere in the list of available packages, queried by running nix-env -qaP '*' --description
.
How do I install a java compiler on NixOS
?
java nixos
add a comment |Â
up vote
2
down vote
favorite
On NixOS
, I am trying to install java
in order to compile my code from the command line.
I do not see the java compiler listed anywhere in the list of available packages, queried by running nix-env -qaP '*' --description
.
How do I install a java compiler on NixOS
?
java nixos
3
This page might help: nixos.org/nixos/packages.html it's a dynamic search page for NixOS' store.
â Mioriin
Nov 11 '17 at 4:50
1
Searching using a package name usually useless unless you know what you are looking for. Use package page mentioned above or add--description
flag, for example,nix-env -qaP --description | grep -i java.*devel
â wizzup
Nov 11 '17 at 6:58
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
On NixOS
, I am trying to install java
in order to compile my code from the command line.
I do not see the java compiler listed anywhere in the list of available packages, queried by running nix-env -qaP '*' --description
.
How do I install a java compiler on NixOS
?
java nixos
On NixOS
, I am trying to install java
in order to compile my code from the command line.
I do not see the java compiler listed anywhere in the list of available packages, queried by running nix-env -qaP '*' --description
.
How do I install a java compiler on NixOS
?
java nixos
asked Nov 11 '17 at 0:55
mherzl
310215
310215
3
This page might help: nixos.org/nixos/packages.html it's a dynamic search page for NixOS' store.
â Mioriin
Nov 11 '17 at 4:50
1
Searching using a package name usually useless unless you know what you are looking for. Use package page mentioned above or add--description
flag, for example,nix-env -qaP --description | grep -i java.*devel
â wizzup
Nov 11 '17 at 6:58
add a comment |Â
3
This page might help: nixos.org/nixos/packages.html it's a dynamic search page for NixOS' store.
â Mioriin
Nov 11 '17 at 4:50
1
Searching using a package name usually useless unless you know what you are looking for. Use package page mentioned above or add--description
flag, for example,nix-env -qaP --description | grep -i java.*devel
â wizzup
Nov 11 '17 at 6:58
3
3
This page might help: nixos.org/nixos/packages.html it's a dynamic search page for NixOS' store.
â Mioriin
Nov 11 '17 at 4:50
This page might help: nixos.org/nixos/packages.html it's a dynamic search page for NixOS' store.
â Mioriin
Nov 11 '17 at 4:50
1
1
Searching using a package name usually useless unless you know what you are looking for. Use package page mentioned above or add
--description
flag, for example, nix-env -qaP --description | grep -i java.*devel
â wizzup
Nov 11 '17 at 6:58
Searching using a package name usually useless unless you know what you are looking for. Use package page mentioned above or add
--description
flag, for example, nix-env -qaP --description | grep -i java.*devel
â wizzup
Nov 11 '17 at 6:58
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
5
down vote
accepted
There are two Java compilers available via Nixpkgs: OpenJDK and OracleJDK, named openjdk
and oraclejdk
, respectively.
Note that the OracleJDK doesn't seem to be available in the top-level expression, but you can certainly install the openjdk
.
Thank you. I missedopenjdk
since I had been searching forjava
.
â mherzl
Nov 11 '17 at 6:24
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
There are two Java compilers available via Nixpkgs: OpenJDK and OracleJDK, named openjdk
and oraclejdk
, respectively.
Note that the OracleJDK doesn't seem to be available in the top-level expression, but you can certainly install the openjdk
.
Thank you. I missedopenjdk
since I had been searching forjava
.
â mherzl
Nov 11 '17 at 6:24
add a comment |Â
up vote
5
down vote
accepted
There are two Java compilers available via Nixpkgs: OpenJDK and OracleJDK, named openjdk
and oraclejdk
, respectively.
Note that the OracleJDK doesn't seem to be available in the top-level expression, but you can certainly install the openjdk
.
Thank you. I missedopenjdk
since I had been searching forjava
.
â mherzl
Nov 11 '17 at 6:24
add a comment |Â
up vote
5
down vote
accepted
up vote
5
down vote
accepted
There are two Java compilers available via Nixpkgs: OpenJDK and OracleJDK, named openjdk
and oraclejdk
, respectively.
Note that the OracleJDK doesn't seem to be available in the top-level expression, but you can certainly install the openjdk
.
There are two Java compilers available via Nixpkgs: OpenJDK and OracleJDK, named openjdk
and oraclejdk
, respectively.
Note that the OracleJDK doesn't seem to be available in the top-level expression, but you can certainly install the openjdk
.
answered Nov 11 '17 at 5:14
Emmanuel Rosa
2,4751410
2,4751410
Thank you. I missedopenjdk
since I had been searching forjava
.
â mherzl
Nov 11 '17 at 6:24
add a comment |Â
Thank you. I missedopenjdk
since I had been searching forjava
.
â mherzl
Nov 11 '17 at 6:24
Thank you. I missed
openjdk
since I had been searching for java
.â mherzl
Nov 11 '17 at 6:24
Thank you. I missed
openjdk
since I had been searching for java
.â mherzl
Nov 11 '17 at 6:24
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f403846%2fhow-to-install-java-in-nixos%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3
This page might help: nixos.org/nixos/packages.html it's a dynamic search page for NixOS' store.
â Mioriin
Nov 11 '17 at 4:50
1
Searching using a package name usually useless unless you know what you are looking for. Use package page mentioned above or add
--description
flag, for example,nix-env -qaP --description | grep -i java.*devel
â wizzup
Nov 11 '17 at 6:58