title: Eclipse - Setting .classpath file for existing project
body: <p>I have a java project.  The working folder from someone else's Eclipse project (It was a Repast Simphony project I think).</p>
  
  <p>In my eclipse I created a new Java project and told it to use the existing code.  So it seems to have brought in all the code.</p>
  
  <p>However after loading the project I get this error:</p>
  
  <pre><code>Project 'My Project' is missing required Java project: 'Weka 3-7' 
  </code></pre>
  
  <p>It has a .classpath file with these contents:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;classpath&gt;
   &lt;classpathentry kind="src" path="src"/&gt;
   &lt;classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/&gt;
   &lt;classpathentry combineaccessrules="false" kind="src" path="/Weka-3-7"/&gt;
   &lt;classpathentry kind="output" path="bin"/&gt;
  &lt;/classpath&gt;
  </code></pre>
  
  <p>What I've tried so far:</p>
  
  <p>I installed Weka 3-7.  Then I updated the .classpath file to say the following and reloaded the project.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;classpath&gt;
   &lt;classpathentry kind="src" path="src"/&gt;
   &lt;classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/&gt;
   &lt;classpathentry combineaccessrules="false" kind="src" path="C|/Program Files/Weka-3-7"/&gt;
   &lt;classpathentry kind="output" path="bin"/&gt;
  &lt;/classpath&gt;
  </code></pre>
  
  <p>But now I get the error message:</p>
  
  <pre><code>Project 'My Project' is missing required source folder: 'C|/Program Files/Weka-3-7' 
  </code></pre>
  
  <p>Please help.  I'm stuck.</p>