Faced below error while trying to maven build in Eclipse.
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
Solution :
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
Solution :
- Eclipse -> window -> preference.
- Select installed JREs -> Edit
- Add External Jars
- select tools.jar from java/JDKx.x/lib folder.
- Click Finish
No comments:
Post a Comment