title: Java, what does "cannot find symbol" mean?
body: <p>I have some java code:</p>
  
  <p>NameTest.java:</p>
  
  <pre><code>public class NameTest
  {
      public static void main (String[] args)
      {
          Name = myName = new Name("John", "Smith", "Doe");  //This is Line 6
          Name = wifeName = new Name ("Jane", "Smith");
          Name = single = new Name ("Smith");
          Name someName;
          System.out.println ("myName: " + myName.toString());
      }
  }
  </code></pre>
  
  <p>Error Message I get:</p>
  
  <pre><code>    *~/Java1/Section5$ java -cp. Name.java NameTest.java
  Unrecognized option: -cp.
  Could not create the Java virtual machine.
  ~/Java1/Section5$ javac NameTest.java
  NameTest.java:6: cannot find symbol
  symbol  : variable Name
  location: class NameTest
          Name = myName = new Name("John", "Smith", "Doe");
          ^
  NameTest.java:6: cannot find symbol
  </code></pre>
  
  <p>What does <code>NameTest.java:6: cannot find symbol</code> mean?</p>