title: creating .bat file for java
body: <p>I need to create a .bat file to run java program.
  I have a DatabaseConnect.class file under "C:\Program Files\Java" directory.
  And I have a jar files for database connection in "C:\Program Files\JarColl" directory.</p>
  
  <p>I tried but no success .
  ANy help is appreciated.</p>