When you install JReport Enterprise Server, JReport Server API is also installed at the same time. After installation, you will have the following components in <install_root>\lib:
The Server API classes are stored in the archive file JRESServlets.jar.
You need to set the classpath environment variable. Append the following jar files to your classpath that compile and run applications which call the Server API:
<install_root>\lib\JRESServlets.jar; <install_root>\lib\JREngine.jar; <install_root>\lib\servlet.jar; <install_root>\lib\log4j-1.2.8.jar; <install_root>\lib\sac.jar; <install_root>\commons-codec-1.2.jar
Note: If you want to export reports to the following formats, you should add the corresponding class package or jar with a valid path to the class path: