Java can't find class errors in compilation
<p>I am trying to compile and run my java application from the command prompt but am having some errors. I change  to the bin bin folder thus am running from the bin folder.I tried compiling with :</p>

<pre><code>&gt;&gt; javac foe.java
</code></pre>

<p>but i get some errors that it can't find some classes that are been referred to by the above main class.</p>

<p>Do i have to compile all classes that the above main class references? and if so how do i do it?
thanks.</p>
