### Installing the Designer API

JReport Designer API and JReport Server Designer API packages can be easily downloaded and installed to your local machine. After which, you can then program with them without having to install any other JReport products. However, full designer API packages are also included in JReport Designer and JReport Enterprise Server. JReport Designer includes a single threaded Designer API, while JReport Enterprise Server includes a multi-threaded Designer API.

#### Installing independent JReport Designer API

Download designAPISetup.exe from the Jinfonet website http://www.jinfonet.com/downloadjreport/additional.htm. Then, run designAPISetup.exe and follow the prompts to install.

After you have installed JReport Designer API by running designAPISetup.exe, you will need to take the following two steps before you compile and run the program:

1. Set the class path environment variable. Then, append the following string to your class path that starts the Designer API:

   `<designerAPI_install_root>\lib\designAPI.jar;<designerAPI_install_root>\lib\log4j-1.2.8.jar;<designerAPI_install_root>\lib\sac.jar;<designerAPI_install_root>\lib\commons-codec-1.2.jar;<designerAPI_install_root>\lib\hsqldb.jar`

2. Set the -Dreporthome parameter equal to the root path of the Designer API.

#### Installing independent JReport Server Designer API

Download svrdsgAPISetup.exe from the Jinfonet website http://www.jinfonet.com/downloadjreport/additional.htm. Then, run svrdsgAPISetup.exe and follow the prompts to install.

After you have installed JReport Server Designer API by running svrdsgAPISetup.exe, you will need to take the following two steps before you compile and run the program:

1. Set the class path environment variable. Then, append the following string to your class path that starts Server Designer API:

   `<svrdesignerAPI_install_root>\lib\serverDesignAPI.jar;<svrdesignerAPI_install_root>\lib\log4j-1.2.8.jar;<svrdesignerAPI_install_root>\lib\sac.jar;<svrdesignerAPI_install_root>\commons-codec-1.2.jar;<svrdesignerAPI_install_root>\hsqldb.jar`

2. Set the -Dreporthome parameter to be the same as the root path of the Server Designer API.

#### Installing the Designer API by JReport Designer

When you install JReport Designer, the Designer API will be installed at the same time. After installation, you will have the components listed below in `<designer_install_root>\lib`:

- JREngine.jar
- report.jar
- sac.jar
- hsqldb.jar
- commons-codec-1.2.jar
- log4j-1.2.8.jar (Jar file used for the JReport Engine logging system)

Note: The Designer API classes are stored in the archive files: report.jar and JREngine.jar. You will need to take the following two steps before you can compile and run the program:

1. Set the class path environment variable. Append the following string to your class path that starts the Designer API:

   `<designer_install_root>\lib\report.jar;<designer_install_root>\lib\JREngine.jar;<designer_install_root>\lib\log4j-1.2.8.jar;<designer_install_root>\lib\sac.jar;<designer_install_root>\commons-codec-1.2.jar;<designer_install_root>\hsqldb.jar`

2. Set the -Dreporthome parameter to be the same as the root path of JReport Designer.