Have a look at the following code. Hope this helps. Code:JasperPrint jasperPrint = JasperFillManager.fillReport("tutorialsMain.jasper", parameters, new JREmptyDataSource(1)); JasperExportManager.exportReportToPdfFile(jasperPrint,"Tutorials.pdf"); //"Tutorials.pdf" will be the name of your PDF