Related introduction
JasperReports is an open source Java report making engine
Http://jasperreports.sourceforge.net
ireport is a GUI tool for JasperReports to generate JasperReports jrxml files.
Http://ireport.sourceforge.net
Configuration of the running environment
Installation of 1:JDK and Ant and Configuration of environment variables (here we go, I think it's easy to find information)
2: Using ant to compile the example in demo
To the CMD mode, to a directory of sample, such as to
The Jasperreports/demo/samples/alterdesign directory
In step 1:cmd, type ant
will prompt you to compile Java successfully, will generate the. class file
In step 2:cmd, type ant compile
The Jasper file is compiled and the. Jasper file is generated
In step 3:cmd, type ant fill
populating data, generating. jrprint files
Step 4: (partially require this feature) to start a new cmd, type ant or ant runserver in the/demo/hsqldb directory
Start the database, this is where it will stop, so give him a separate cmd. CTRL + C will quit
In step 5:cmd, type ant viewdesign//View the source file interface effect
Ant View//view Run effect
This should see the effect of it, hehe.