Search code examples
javaclojurejavacleiningen

Is it possible to specify which javac command to use in a Leiningen project?


I have a project in which I want to use a different javac than the machine default. The java-cmd at the project level seems to override the default java but not the default javac.


Solution

  • There's an environment variable LEIN_JAVA_CMD that can override both.