Our customers at times require Oracle Java for their applications. Our new platform is based on NixOS. As with most Linux distributions, Oracle Java cannot be installed just like that. Oracle’s license prevents redistribution or direct downloading from their servers. NixOS is no exception there.
While manual installation is pretty straightforward on NixOS, ultimately an automated process is what makes operators happy. We use Batou for this.