I have some problems importing a Java project into my workspace. I am following this tutorial - however I can not use the final Import existing projects ste
It is possible by first cloning the repository and then creating a General project based on that. Then you can convert it to Java project. Here is how:
File>Import...>Projects from GIT.Select a Git Repository view you first press Clone. And follow instructions. This will create a local "checkout" of the repository to your computer. You can set the folder to be your workspace so it looks like any other of your eclipse projects. Import-view. Now you can select the repository you just cloned from the list. Next and select Import as General Project. Now you have a git repository to eclipse. nature and buildCommand elements from other Java project to your .project file:Relevant sections from .project:
org.eclipse.jdt.core.javabuilder
org.eclipse.jdt.core.javanature
Then from Project>Properties>Java Build Path>Source add your source folders (and possible libraries).
Edit: Added the conversion to Java project.