* All JARs end up in $out/share/java, and a few wrappers for the
applications are made in $out/bin (closes#50932).
* stdenv -> stdenvNoCC, since no compilers are needed in any stages.
* Remove the vendored Rhino JavaScript engine and replace it with our
Nixpkgs one.
* Add the stripJavaArchivesHook.
This is hopefully a large improvement over the previous derivation
(which simply copied the binary tarball into $out).