title: How to add `hamcrest-core-1.3.jar` to the classpath variable in windows?
body: <p>My classpath is linked to junit home which contains both <code>hamcrest-core-1.3.jar</code> and <code>junit-4.12.jar</code>. The junit seems to be recognized but I'm getting a <code>NoClassDefFoundError: org/hamcrest/SelfDescribing</code>. </p>
  
  <p>I think I have to link the hamcrest to the classpath variable somehow but I'm not sure how. </p>
  
  <p>This is my classpath variable's contents:</p>
  
  <p><code>%CLASSPATH%;%JUNIT_HOME%\junit-4.12.jar;.;</code></p>