Eclipse/Maven error: "No compiler is provided in this environment"

Created by Jorge CamposLinked to 13.4m issues across 54 teams


Step 1 - Open Eclipse and go to Window → Preferences. Step 2 - Select Java from the list of options. Step 3 - Select Installed JREs from the Java menu.

Next, check if there is an entry pointing to your JDK path. If not, click on the Edit button and enter the path of your JAVA_HOME environment. Click OK to save your changes.