### Installing the Page Report Studio API

When you install JReport Server, JReport Server API including the Page Report Studio API is also installed at the same time. After installation, you have the following files:

- In `<install_root>\lib`:
  - JRESServlets.jar
  - JREngine.jar
  - servlet.jar
  - hsqldb.jar
  - log4j-1.2.8.jar
  - sac.jar
  - commons-codec-1.2.jar
  - commons-logging-1.1.jar
  - quartz-all-1.6.5.jar
- In `<install_root>\derby\lib`:
  - derby.jar
  - derbyclient.jar
  - derbynet.jar
  - derbytools.jar

JReport Server API classes are stored in the archive file JRESServlets.jar.

You will need to set the classpath environment variable. Append the following jar files to your class path that compile and run applications which call the Server API:

For Server:

`<install_root>\lib\JRESServlets.jar; <install_root>\lib\JREngine.jar; <install_root>\lib\servlet.jar; <install_root>\lib\hsqldb.jar; <install_root>\lib\log4j-1.2.8.jar; <install_root>\lib\sac.jar; <install_root>\lib\commons-codec-1.2.jar; <install_root>\lib\commons-logging-1.1.jar; <install_root>\lib\quartz-all-1.6.5.jar; <install_root>\derby\lib\derby.jar; <install_root>\derby\lib\derbyclient.jar; <install_root>\derby\lib\derbynet.jar; <install_root>\derby\lib\derbytools.jar;`

For Page Report Studio, also include:

`<install_root>\lib\JRWebDesign.jar;`

Note: If you are not using Derby as your server DBMS, you need to replace the Derby libraries with the JDBC driver for your DBMS system.