Integrating JasperReports and NetBeans
Before you can invoke JasperReports in NetBeans you must set up the JasperReports libraries. Use "My Documents" on Windows and "/home/yourhome" on Linux.
- Download the latest version of JasperReports currently 1.3.4 from SourceForge
- On Windows put the project.zip file in My Documents, Linux /home/yourhome
- Extract the files. Right click on the zip archive and choose Extract All. tar xzvf on Linux
- In NetBeans, Tools, Libraries, New Library, Library Name:JasperReports-1.3.4,OK
- Add the jar file My Documents\jasperreports-1.3.4-project\jasperreports-1.3.4\dist\jasperreports-1.3.4.jar
- Add the following jar files from My Documents\jasperreports-1.3.4-project\jasperreports-1.3.4\lib
- commons-beanutils-1.7.jar
- commons-colletiions-2.1.jar
- commons-digester-1.7.jar
- commons-logging-1.0.2.jar
- commons-javaflow-20060411.jar
- Click the Sources tab and add the folder My Documents\jasperreports-1.3.4-project\jasperreports-1.3.4\src
- Click the Javadoc tab and add the folder My Documents\jasperreports-1.3.4-project\jasperreports-1.3.4\dist\javadoc
- Click Tools, Options, Advanced options, IDE configuration, System, Object Types, XML Objects, Extensions and Mime Types, jrxml, Add
- see the page iReport to make JasperReport templates and where to put them
