This will be needed for a Java project created with the type "from SVN source". It will not have a Java nature by default.
Add a Java nature to the project in .project:
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
Create the file .classpath with the JDK/JRE libraries (and optionally the default output directory):
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Then you might want to add to the classpath the libraries which could not be detected at creation time.
This method is alternative to the one detailed
here.