Reporting is a critical element that almost every application, either it’s desktop or web based should have. Almost all application developer focused on how to make strong reliable application, but they somewhat forget about this section. Today i will make a basic tutorial for an application that could be integrated into reporting engine, in this case, i will use JasperReport + Java.
Before we start to the core of this tutorial, i will show you how to make your PC/Laptop a “JasperReport-Ready”. Things that you should have to prepare :
1. Netbeans IDE
Netbeans is an integrated development environment (IDE) for Java, PHP, C/C++, Ruby, Python. You can download the latest release here
2. iReport Designer
iReport is a JasperReport designer. With this, you can build your preferable report, design it as your favourite, and integrate it into database. you can download the latest release here
3. JasperReport library
JasperReport is the core engine of reporting library. You can download the library here (need authentication). The dependencies libraries are :
- commons-beanutils.jar
- commons-digester.jar
- commons-collections.jar
- commons-logging.jar
- iText-latest-version.jar
After you’ve done downloaded such many things, let’s make your PC “JasperReport-ready”. Follow these steps :
1. Install Netbeans IDE latest version
2. Install iReport designer
3. Once you’ve installed these 2, follow these special steps :
- Open your netbeans IDE
- Click Tools->Libraries as follows :
- A new Library Manager window will appear. Click on New Library.. button
- Type JasperReport on Library Name (you can use any other name as you like) :
- After that, you will back to Library Manager window. Choose your new jasper report library on Libraries list. Click on Add Jar/Folder button on the right side. Add JasperReport library and all dependencies library. Once it done, you will see a window like this :
- Click OK, then your IDE is ready for JasperReport development!
Have Fun!




Edward
June 1, 2010 at 12:55 am
Hans, itu teh kalo dependencies libraries nya yg dimasukkin .jar ato .zip jg gpp pas lg d netbeansnya ?
Hans Kristanto
June 1, 2010 at 7:01 am
Edward :
mendingan .jar ajah..tapi kalo misalnya u donlod, nanti dapet nya .jar da.. .jar ini yang u attach ke project u.
Prashan
May 7, 2011 at 10:46 pm
Superb superb…i learnt lot from this…thank you very much
Ashutosh sharma
November 28, 2011 at 4:21 pm
i want to know how embedded ireports in java desktop application in java netbean IDE and open different-2 reports on button click
Ashutosh sharma
November 28, 2011 at 4:23 pm
your note r really helpful thanks