.nix package to use javac command

Please, what .nix package I must install to use “javac” command?

1 Like

You should be able to use the Java template to use it. For the nix packages, I think the replit.nix config is:

{ pkgs }: {
  deps = [
    pkgs.graalvm17-ce
    pkgs.maven
    // Language server packages (not required)
    pkgs.replitPackages.jdt-language-server
    pkgs.replitPackages.java-debug
  ];
}
6 Likes

Ok, thanks!!!:partying_face::partying_face::partying_face::partying_face:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.