title: Java package will not run
body: <p>I'm very new to java(started today), and when I created my first application it generated some code and the first line was "package firstproject;" (without the quotes).</p>
  
  <p>When I tried to run this I kept getting an error that said it couldn't find my first project class?</p>
  
  <p>I created another project and this time it didn't have this package line but did have the other stuff which was public class and stuff and I didn't get the error? </p>
  
  <p>The tutorial I was following said the code should have ran ok without changing it and with that package line?</p>
  
  <p>Any help will be greatly appreciated!! </p>
  
  <p>Thanks</p>