user8785158 wrote:Very curious indeed. Maven is indeed not finding the javac command. Just to be 100% sure: when you manually run something like $JAVA_HOME/bin/javac -version you do get a proper response, right?
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
I wonder where else Maven could be getting the compiler location from?The JAVA_HOME environmental variable; check out the mvn shell script to see that it is referenced.
A question for another forum I guess. I'd still like to know the answer to my question though. Mostly because I spent half a day searching for it, and I like to know how things workIndeed, I would look for a Maven mailing list or forum. Stackoverflow is far more general purpose, it should serve your purpose. If you post there, be sure to post a link to this thread so people can read what has already been discussed.