Cannot recognise "import org.junit.Assert" in a java file
<p>I have this problem that I cannot understand why it doesn't exist.</p>

<p>Basically, when I compile the following command:</p>

<pre><code>C:\Users\Bill\My Documents\Antbook\ch04&gt; javac -d build\test test\org\example\antbook\junit\SimpleTest.java
</code></pre>

<p>It gives me an error saying: "java:4 error: Package org.junit does not exist" and same with line 5. Plus, on line 9, it cannot find the "@Test".</p>

<p>Heres, the code:</p>

<pre><code>package org.example.antbook.junit; 

//import JUnit4 classes:
import static org.junit.Assert.*;
import org.junit.Test;

public class SimpleTest
{
    @Test    
    public void testSomething() 
    {
        assertTrue("MULTIPLICATION???", 4 == (2 * 2));
    }
}
</code></pre>

<p>Can anyone give any suggestions? Am I meant to copy the jar files containing the Junit classes in to a directory?</p>

<p>Thanks.</p>
