Hi, I have a requirement to get the pdf format report from the java code using jasper reports, i have seen many examples, we have only jasper viewer to view the report from the java program. My requirement, is when i compile a java program, a report has to be viewed in pdf format. The code which i am using is: JasperPrint jprint = (JasperPrint) JasperFillManager.fillReport(jasperFileName, parameters, con); JasperExportManager.exportReportToPdfFile(jprint, pdfFileName); JasperViewer.viewReport(jprint,true) ----> here, this line says that to view in the jasper viewer. But, i need to view in PDF format. Please help me. Thanks and Regards, Naveen