Forums Register Login
error when try to run maven project
I am getting below exception when i try to run the class, i can't find the reason for this?

Maven isn't finding the Java compiler javac.  To test this, execute the command javac -version at the command line in the same environment as you executed Maven.  If you don't get version information for javac, then we need to determine two things:

1) Do you have the JDK installed?
2) Are your JAVA_HOME and PATH environment variables set up properly?

And we need to know what your OS is (Windows, Linux, Mac...)
Have a look
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
Thread Boost - a very different sort of advertising

This thread has been viewed 189 times.

All times above are in ranch (not your local) time.
The current ranch time is
Apr 25, 2018 02:18:17.