title: How to configure jasper reports in java code
body: <p>I had created a java application which creates a jasper report whenever user clicks the print button it provides a report. 
  code:
  String </p>
  
  <pre><code>srcfile1="C:\\Users\\VINO\\Documents\\NetBeansProjects\\rework\\src\\rework\\report1.jasper";
  JasperPrint firstsecondlinked = JasperFillManager.fillReport(srcfile1,map,cons); 
  </code></pre>
  
  <p>I copied the same to the colleague but it doesn't works fine giving an error states that file not found.
   As to create a application how to name the source file in the string? </p>