Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Build path entry is missing" error when trying to create a new project in Eclipse

Build path entry is missing: org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7

I get this error when I create a new project in Eclipse. I am using Ubuntu by the way.

Can anyone help me fixing this?

like image 572
IlhamiD Avatar asked Sep 03 '12 17:09

IlhamiD


1 Answers

This error is due to JRE System Library. Maybe you didn't give appropriate JRE for eclipse project to run. SO follow below steps.

  1. Right-click on the project and choose properties.
  2. Click on the Java Build Path option in the left side menu.
  3. From the Java Build Path window, click on the Libraries Tab.
  4. Make sure JRE System library is listed, if it is not listed then you can add, by clicking "Add Library" from the right side menu.
  5. So if JRE System Library is already listed then double click on JRE System Library which was showing error on Java Build Path window Libraries tab previously .
  6. Then it will open another window called JRE System Library . So in that window choose Alternate JRE . From that drop down choose your JRE.

In my case, it is java-8-openjdk-amd64 , as I am using ubuntu 16.04. Like that you can also choose your JRE System library .

like image 179
PyDevSRS Avatar answered Oct 06 '22 00:10

PyDevSRS