Meidan Alon Meidan Alon - 11 months ago 53
Java Question

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.

Answer Source

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