How do you fix no compiler is provided in this environment Perhaps you are running on a JRE rather than a JDK?

Nguyên Lê

New member
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.
…
  1. right click on project -> Properties.
  2. select Java Build Path.
  3. select the JRE System Library.
  4. click edit.
  5. In execution environment select a jdk.
25 апр. 2014 г.
 

Tìm kiếm

Back
Top