Meidan Alon Meidan Alon - 1 year ago 63
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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download