Open up the provided Nix shell:
nix develop --ignore-environmentOnce inside the shell, you can run standard Java commands:
java
gradle
mvnTo use the Java environment without checking out this repo:
nix develop 'github:the-nix-way/nix-flake-dev-environments?dir=java'