Hello, I'm working with netbeans on a Java Desktop Application, in this application I implemented JasperReports, which are created and compiled with iReport. In the java classes I call directly the compiled jasper file like in code below. the problem is: When I'm working on the IDE, the report running works out-of-the box , but once I make a build for the application, I couldn't start it anymore ( I got this : java.io.FileNotFoundException), I releazied that if I put the folder where the jasper file exist (called "report" in this case) in the same location where the JAR-File is, so it works normally! Knowing that in my Netbeans Project, the "report " folder is inside "src". Is there any way to set up the path to the jasper files , so that they'd be runnable directly from the builded JAR-File? I'm waiting forward to getting your help. Thanks in advance Code:private void printReport(Clients client) throws IOException, InterruptedException { JasperPrint jasperPrint; HashMap<String, String> parameter = setParameter(client); try { jasperPrint = JasperFillManager.fillReport("src\report\client.jasper", parameter, new JREmptyDataSource()); JasperExportManager.exportReportToPdfFile(jasperPrint, "ReportKunde.pdf"); Process p = Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler ReportClient.pdf"); p.waitFor(); } catch (JRException jre) { jre.printStackTrace(); } }