How do you fix no compiler is provided in this environment Perhaps you are running on a JRE rather than a JDK?
Answer
On your Eclipse IDE, go into Window > Preferences > Java > Installed JREs > and check your installed JREs. You should have an entry with a JDK there.
…
Answer
On your Eclipse IDE, go into Window > Preferences > Java > Installed JREs > and check your installed JREs. You should have an entry with a JDK there.
…
- right click on project -> Properties.
- select Java Build Path.
- select the JRE System Library.
- click edit.
- In execution environment select a jdk.