diff --git a/doc/languages-frameworks/java.xml b/doc/languages-frameworks/java.xml index dcf4d17fa57..06812d2df23 100644 --- a/doc/languages-frameworks/java.xml +++ b/doc/languages-frameworks/java.xml @@ -15,13 +15,17 @@ stdenv.mkDerivation { buildPhase = "ant"; } - Note that jdk is an alias for the OpenJDK. - + Note that jdk is an alias for the OpenJDK (self-built + where available, or pre-built via Zulu). + Platforms with OpenJDK not (yet) in Nixpkgs (Aarch32, + Aarch64) point to the (unfree) + oraclejdk. + JAR files that are intended to be used by other packages should be installed - in $out/share/java. The OpenJDK has a stdenv setup hook - that adds any JARs in the share/java directories of the + in $out/share/java. JDKs have a stdenv setup hook + that add any JARs in the share/java directories of the build inputs to the CLASSPATH environment variable. For instance, if the package libfoo installs a JAR named foo.jar in its share/java