Eclipse/Maven error: "No compiler is provided in this environment"
Go to Window → Preferences → Java → Installed JREs.
And see if there is an entry pointing to your JDK path, and if not, click on Edit button and put the path you configured your JAVA_HOME
environment.
Screen_shot Add 'tools.jar' to installed JRE.
-
Eclipse
->window
->preference
. - Select
installed JREs
->Edit
- Add External Jars
- select
tools.jar
fromjava/JDKx.x/lib
folder. - Click Finish