title: Can't cope with packages
body: <p>In C:\ru\compscicenter\java\stacks> I have placed </p>
  
  <pre><code>AbstractStack.java
  ArrayStack.java
  LinkedStack.java
  Stack.java
  StackTest.java
  </code></pre>
  
  <p>The first string of each of these files is</p>
  
  <pre><code>package ru.compscicenter.java.stacks;
  </code></pre>
  
  <p>My my CLASSPATH examination:</p>
  
  <pre><code>C:\ru\compscicenter\java\stacks&gt;echo %CLASSPATH%
  .;C:\ru\compscicenter\java\stacks
  </code></pre>
  
  <p>When I'm in the stacks directory and try to compile StackTest, I fail to do that.
  What I write and what I get is here: </p>
  
  <pre><code>C:\ru\compscicenter\java\stacks&gt;javac StackTest.java
  StackTest.java:4: error: cannot find symbol
          public static void fill(Stack&lt;String&gt; stack){
                                  ^
    symbol:   class Stack
    location: class StackTest
  StackTest.java:12: error: cannot find symbol
          public static &lt;E&gt; void dump(Stack&lt;E&gt; stack){
                                      ^
    symbol:   class Stack
    location: class StackTest
  StackTest.java:24: error: cannot find symbol
                          LinkedStack&lt;String&gt; stack = new LinkedStack&lt;String&gt;();
                          ^
    symbol:   class LinkedStack
    location: class StackTest
  StackTest.java:24: error: cannot find symbol
                          LinkedStack&lt;String&gt; stack = new LinkedStack&lt;String&gt;();
                                                          ^
    symbol:   class LinkedStack
    location: class StackTest
  StackTest.java:29: error: cannot find symbol
                          ArrayStack&lt;String&gt; stack = new ArrayStack&lt;String&gt;(10);
                          ^
    symbol:   class ArrayStack
    location: class StackTest
  StackTest.java:29: error: cannot find symbol
                          ArrayStack&lt;String&gt; stack = new ArrayStack&lt;String&gt;(10);
                                                         ^
    symbol:   class ArrayStack
    location: class StackTest
  6 errors
  </code></pre>
  
  <p>Could you help me correct this?</p>
  
  <p><strong>Added later:</strong></p>
  
  <p>Then I did this:</p>
  
  <pre><code>C:\&gt;javac c:\ru\compscicenter\java\stacks\*.java
  Note: c:\ru\compscicenter\java\stacks\ArrayStack.java uses unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  
  C:\&gt;java StackTest
  Exception in thread "main" java.lang.NoClassDefFoundError: StackTest (wrong name: ru/compscicenter/java/stacks/StackTest)
          at java.lang.ClassLoader.defineClass1(Native Method)
          at java.lang.ClassLoader.defineClass(Unknown Source)
          at java.security.SecureClassLoader.defineClass(Unknown Source)
          at java.net.URLClassLoader.defineClass(Unknown Source)
          at java.net.URLClassLoader.access$100(Unknown Source)
          at java.net.URLClassLoader$1.run(Unknown Source)
          at java.net.URLClassLoader$1.run(Unknown Source)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
  </code></pre>
  
  <p>Could you help me again?</p>