Tag Archives: No compiler is provided in this environment. Perhaps you are running on a JRE rather t…

[Solved] Maven Error: No compiler is provided in this environment. Perhaps you are running on a JRE rather t…

No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

You should specify a JDK instead of a JRE. Show the JRE home, but the need is a complete JDK

Solution: Eclipse — > Window–> preferences–> Java–> Installed jres select the directory and find the location of JDK

If it has been configured, remove it and configure it again

Above has solved the compilation common project to report the wrong question

If you still have problems compiling with maven, you can reconfigure the Maven environment

Eclipse–> Window–> preferences–> Maven–> User Settings