NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.69k stars 13.83k forks source link

Nexus not working in NixOS 21.05 #130926

Closed Dehumanizer77 closed 3 years ago

Dehumanizer77 commented 3 years ago

Describe the bug Nexus won't start and is complaining that no suitable java virtual machine could be found in the system

To Reproduce Steps to reproduce the behavior:

  1. enable nexus with services.nexus.enable = true;
  2. the service won't start: Jul 21 11:23:16 proxy1 systemd[1]: Starting Sonatype Nexus3... Jul 21 11:23:16 proxy1 systemd[1]: Started Sonatype Nexus3. Jul 21 11:23:16 proxy1 nexus-start[2267]: No suitable Java Virtual Machine could be found on your system. Jul 21 11:23:16 proxy1 nexus-start[2267]: The version of the JVM must be 1.8. Jul 21 11:23:16 proxy1 nexus-start[2267]: Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

Notify maintainers @aespinosa @ironpinguin @zaninime

Metadata Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

OPNA2608 commented 3 years ago

Duplicate of #130754

Dehumanizer77 commented 3 years ago

Sorry, I have overlooked that issue. Closing.