title: Yet another 'cannot find symbol' error when creating a new class object
body: <p>In short, I'm trying to instantiate within the main method in order to handle computations. I wrote the main class in Eclipse and was able to compile and run everything smoothly. </p>
  
  <p>Main Method: </p>
  
  <pre><code>public static void main(String[] args)
  {
      ...
  
      OutsideClass class = new OutsideClass();
  
      ...
  }
  </code></pre>
  
  <p>I ran it in eclipse, which worked smoothly until I got an error due to to insufficient privileges, which led me to switch over to using cmd.exe as an administrator.</p>
  
  <p>I navigated to the eclipse folder where I had all the classes saved to and ran <code>javac x.java</code> for each file in the folder, one by one. I was able to do <code>javac OutsideClass.java</code> without any errors, though when it came to <code>javac Main.java</code>, I received the following error:</p>
  
  <pre><code>Main.java:36: error: cannot find symbol
                      OutsideClass outside = new OutsideClass();
                      ^
  symbol:   class OutsideClass
  location: class Main
  Main.java:36: error: cannot find symbol
                      OutsideClass outside = new OutsideClass();
                                            ^
  symbol:   class OutsideClass
  location: class Main
  2 errors
  </code></pre>
  
  <p>The <code>OutsideClass</code> doesn't have a defined constructor, though I don't know if that really matters or not.</p>