iReport comes bundled with a JDBC driver for MySQL. If we need to connect to a
different database, we need to add the JDBC driver to iReport's CLASSPATH. This
can be done by clicking on Options | Classpath .
After doing so we should see a window like the following:
To add our JDBC driver to the CLASSPATH, we need to click on the Add JAR
button, then navigate to the location of the JAR file containing the JDBC driver, select
it, and click on the Open button at the bottom of the pop-up window.