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.
There's an environment variable LEIN_JAVA_CMD
that can override both.