Skip to content
Guides

How to Run a Demo

ComPDFKit Conversion SDK provides a demo in the "samples" folder. Before running the demo, make sure that you have correctly configured the environment and installed JDK 1.8 and the unzip command on your machine.

In this guide, we take DocumentInfoTes as an example. You can follow the following steps to run the demo.

  1. Open the terminal window and navigate to the "samples" folder of the ComPDFKit Conversion SDK for Linux.
  2. Navigate to the "JAVA" folder in the "ConversionTest" file and run the example with the file. For example, /samples/ConversionTest/JAVA.
sh
./RunTest.sh

Output files (Word, Excel, PowerPoint, etc.) will be generated in the "samples/output_files" folder.