title: Can't load jrxml located in jar file via JRXmlLoader: getting java.io.FileNotFoundException
body: <p>I' m using <em>JasperReports</em> in my <em>Java</em> application. </p>
  
  <p>I have a package named "reports" to store all the reports generated. Here is the way I'm calling my jasper report in my application.      </p>
  
  <pre><code>JasperDesign jd  = JRXmlLoader.load("C:\\Users\\Sandaru Weerathunga\\Desktop\\Dasatha Institute\\src\\reports\\teacherPay.jrxml");
  </code></pre>
  
  <p>This is working.<br/>
  Instead of  giving the full path , I tried: </p>
  
  <pre><code>JasperDesign jd  = JRXmlLoader.load("/reports/teacherPay.jrxml");
  </code></pre>
  
  <p>But this is showing an Error while running the program: </p>
  
  <pre><code>net.sf.jasperreports.engine.JRException: java.io.FileNotFoundException: 
  /reports/teacherPay.jrxml (The system cannot find the path specified)
  at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:176)
  at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:156)
  </code></pre>
  
  <p>It is not suitable to give the full path to the <em>JRXmlLoader</em> because if you are going to run this application in other computer you have to change all the coding according to the computer path. So help me on this</p>