You have to distinguish between a Java project and an Eclipse project. Not every Java project is already a Java project and not every Eclipse project is a Java project. You can recognize an Eclipse project by the files that exist. An Eclipse project contains a file .project
and a folder .settings
. In this files the Project settings and metadata (e.g. if it's a Java project) are saved.
Make sure if the project you want to check out is an Eclipse project or a plain Java project.
It seems to me as if it is not but you try to import it as such. If it is not an Eclipse project you should import the project using the "New Project Wizard". Choose Java project
and you'll be fine.
Eclipse will now create the project configuration files. If you commit your changes, make sure you ignore those files. You don't want them in your repository because they contain system specific settings which might not work with other machines. This is the reason why you most likely won't find Eclipse projects in repositories.