Components Required for Source Build

The components and versions listed in this section are required in order to build and run JasperReports Server:

Check Your Java JDK
Check Your Maven Version
Check Your Application Server
Check Your Database Instance

Check Your Java JDK

The JasperReports Server source code can be compiled under Java 1.6 or 1.7. JasperReports Server does not run with versions of Java earlier than 1.6.

To check the version of your JDK (Java Development Kit), run the following command:

javac -version

To download the Java JDK, follow the instructions found at the Java web site: http://www.oracle.com/technetwork/java/javase/downloads/index.html.

The Oracle/Sun JDK is the certified Java platform for JasperReports Server. OpenJDK 1.6 is also supported.

Check Your Maven Version

Apache Maven is used to compile, build, and package the JasperReports Server source code. The JasperReports Server development team uses Maven because of its ability to manage third party dependencies via online repositories.

To download and install Maven you can use this URL:  http://maven.apache.org/download.html#installation

To execute mvn from the command line, put the maven binary (mvn or mvn.exe) in your environment PATH. To check your Maven version, run this command:

mvn -version

For information about Maven, see Maven Troubleshooting.

Check Your Application Server

To run JasperReports Server, you need an application server on the same computer as your source code.

Supported application servers are the following:

Application Server

Comments

Apache Tomcat

Source build can automatically deploy to this application server.

Glassfish

Source build can automatically deploy to this application server.

JBoss

Source build can automatically deploy to this application server.

WebSphere

JasperReports Server must be manually deployed.

WebLogic

JasperReports Server must be manually deployed.

Check Your Database Instance

To run JasperReports Server, you need a database instance.

Supported databases are the following:

Database

Comments

PostgreSQL

Source build automatically creates the jasperserver database.

MySQL

Source build automatically creates the jasperserver database.

Oracle

Source build automatically creates the jasperserver database.

SQL Server

Source build automatically creates the jasperserver database.

DB2 The jasperserver database must be created by the DB administrator.
Version: 
Feedback
randomness