title: Running Mahout from the command line (CLASSPATH)
body: <p>Complied Mahout successfully under Windows using Maven.</p>
  <p>I'm trying to run one of the examples from the command line and I don't get what I am doing wrong. Seems like a CLASSPATH problem.</p>
  <p>Let's say I want to run the GroupLensRecommenderEvaluatorRunner example. I go to the folder with the GroupLensRecommenderEvaluatorRunner.class file in it and execute:</p>
  <pre><code>java -cp C:/mahout/core/target/classes;. 
  
  org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommenderEvaluatorRunner
  </code></pre>
  <p>It gives me the NoClassDefFoundError exception for the GroupLensRecommenderEvaluatorRunner
  class.</p>
  <p>Is the path for -cp wrong?</p>
  <p>btw, for those who aren't familiar with mahout,</p>
  <pre><code>org.apache.mahout.cf.taste.example.grouplens
  </code></pre>
  <p>is the package of the GroupLensRecommenderEvaluatorRunner class.
  <a href="http://people.apache.org/%7Eisabel/mahout_site/mahout-examples/apidocs/org/apache/mahout/cf/taste/example/grouplens/GroupLensRecommenderEvaluatorRunner.html" rel="nofollow noreferrer">javadoc</a></p>
  <p>thanks guys.</p>
  <p>p.s - I first looked on previous stackoverflow questions on CLASSPATH and followed the given solutions, before asking this question.</p>