title: Getting errors when i run my java files through command prompt
body: <p>i have some java files included in package com.das.dbmodule. when i run these java files using netbeans or eclipse they works well. But i get some errors when i try to run them using command prompt. i tried it using default package but same problem. i have put all java files in jdk bin folder. i am using mysql data base and mysql connector jar file. 
  i get errors like</p>
  
  <pre><code>C:\Program Files\Java\jdk1.6.0\bin&gt;cd..
  
  C:\Program Files\Java\jdk1.6.0&gt;cd..
  
  C:\Program Files\Java&gt;cd program files
  The system cannot find the path specified.
  
  C:\Program Files\Java&gt;cd java
  The system cannot find the path specified.
  
  C:\Program Files\Java&gt;cd jdk1.6.0
  
  C:\Program Files\Java\jdk1.6.0&gt;cd bin
  
  C:\Program Files\Java\jdk1.6.0\bin&gt;javac fileoperation.java
  fileoperation.java:47: cannot find symbol
  symbol  : class Dbconnection
  location: class fileoperation
          Dbconnection dbconnection   = new Dbconnection();
          ^
  fileoperation.java:47: cannot find symbol
  symbol  : class Dbconnection
  location: class fileoperation
          Dbconnection dbconnection   = new Dbconnection();
                                            ^
  fileoperation.java:48: cannot find symbol
  symbol  : class Filefinder1
  location: class fileoperation
          Filefinder1  f              = new Filefinder1();    // call constructor
          ^
  fileoperation.java:48: cannot find symbol
  symbol  : class Filefinder1
  location: class fileoperation
          Filefinder1  f              = new Filefinder1();    // call constructor
                                            ^
  4 errors
  
  C:\Program Files\Java\jdk1.6.0\bin&gt;java fileoperation
  Exception in thread "main" java.lang.NoClassDefFoundError: fileoperation
  
  C:\Program Files\Java\jdk1.6.0\bin&gt;Pause
  Press any key to continue . . .
  </code></pre>
  
  <p>basically i am trying to create a batch file that will update my server after every 5 min. i am a student developing an web app. please guide me. i have my project demo day after tomorrow.</p>