Creating reports with JasperReports
Report Card
JasperReports [1] is an open source report generator written in Java that can integrate a wide range of data sources and output the results on the screen or as a file in a number of formats, including PDF, HTML, RTF, ODT, and CSV. It consists of multiple components whose common basis is the JasperReports Library.
The iReport, Jaspersoft Studio, and JasperReports Server tools expand JasperReports' capabilities. The server is needed if report updates must be generated on demand. These reports must be designed beforehand, which is accomplished by iReport and Jaspersoft Studio. However, the vendor is only supporting iReport until the end of 2015; anyone just starting with JasperReports would be better off trying Jaspersoft Studio, which is based on the open source Eclipse IDE.
Installation
Installing the design tools is essentially limited to unpacking components that are available on the community version download page [1]. You do need to watch out for one pitfall: On a 64-bit system, Jaspersoft Studio needs 32-bit versions of some libraries, such as libgtk-x11-2.0.so
, which need to be installed separately. Otherwise, the application will not work.
Using ldd <Application/Library>
shows which libraries an application or library expects. If details appear in the output such as
libgtk-x11-2.0.so.0 => not found libgthread-2.0.so.0 => not found libXtst.so.6 => not found
you will need to install these components retroactively. If the files are available and can be found via the search path but then cause the error message wrong ELF class: ELFCLASS64 , the 32-bit version is missing.
Practical Example
Poached water fleas on green algae is
...Buy this article as PDF
(incl. VAT)