title: How to add jar file reference in a batch file?
body: <p>I have created a simple java class file say for displaying some text to user.<br>
  I have created the batch file for this program.<br>
  It is working fine when i placed it to same directory where my class file exists<br>
  but when i placed it somewhere else it is giving file not found exception or class not found exception and fails to display the text to user.<br>
  How this can be resolved?  </p>
  
  <p>I have tried also by creating the jar file of my class file but also it fails how can i add a jar file reference so that batch file invokes it?   </p>
  
  <p>Thanks,</p>