Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does my eclipse project not have a build path?

Tags:

eclipse

svn

What is the advantage with not having a build path in eclipse? Why is that setting default when it's like something you'd never use? It seems eclipse indigo was developed to make software development as obscure as possible. I just checked out a fresh copy of the project I checked in (called dungeonworld) this afternoon from another computer and automatically nothing works, can't compile, can't choose build path, can't add jre, can't add jdk, can't add that to project properties.

enter image description here

Is my eclipse broken? I can't believe this is happening, such an easy thing not feasible.

like image 297
Niklas Rosencrantz Avatar asked Dec 19 '25 16:12

Niklas Rosencrantz


2 Answers

Nothing above solutions worked for me so i tried below

Right click on project >> properties >> project facets >> click on java

enter image description here

like image 170
Amey Jadiye Avatar answered Dec 22 '25 09:12

Amey Jadiye


It looks like you did not add Eclipse project metadata files to your source control system, so Eclipse doesn't know what your build path is or whether it is even a java project. You can see that the little folder on your dungeonworld project is missing the little 'j', which means Eclipse doesn't think it's a java project.

Go back to your other computer and look for the following files in your original project root...

  1. .project
  2. .classpath
  3. .settings/*

Make sure all of the end up in your source control system or nothing will work right.

like image 45
Konstantin Komissarchik Avatar answered Dec 22 '25 09:12

Konstantin Komissarchik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!