I'm getting a No such file or directory when trying to build OracleJDK8
mv: cannot stat '/nix/store/9gawkw84h4j0jk0bp37l4fm13mnvnbn7-oraclejre-8u91/bin/jmc': No such file or directory
I checked in $JDK_ARCHIVE/jre/bin
and jmc is not present, so I'm not sure why it should be trying to copy it
Add oraclejdk8
to environment.systemPackages
and build
nixos-version
, Ubuntu/Fedora: lsb_release -a
, ...)nix-env --version
)nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
)Oracle, which acquired Java when it purchased Sun Microsystems in 2010, says Google infringed its copyrights by using 37 Java APIs in Android. In 2012, a judge ruled that APIs can't be copyrighted at all, but an appeals court disagreed. Now Oracle may seek up to $9 billion in damages, while Google is arguing that its use of the 37 APIs constitutes "fair use."
Are you on NixOS 16.03 or 16.09 (master)? This should be fixed on master as of d51056383731b41a027778249e356bacc46a9385 but isn't probably yet released in the unstable channel.
Just checked, the failing code isn't in 16.03, so this is fixed by the mentioned commit above and will be available in the unstable channel soon.