Skip to content
Guides

How to Run a Demo

ComPDFKit PDF SDK for Java provides multiple demos for developers to learn how to call the SDK on Java applications. You can find them in the "samples" folder. In this guide, we take "DocumentInfoTest" as an example to show how to run it on Java applications.

  1. Import the "samples" project on IDE.

  2. Navigate to the "JAVA" folder which is in "DocumentInfoTest" file and run the sample with. For example /samples/DocumentInfoTest/JAVA.

    ./RunTest.sh

    Note: This is a demo project, presenting completed ComPDFKit PDF SDK functions. The functions might be different based on the license you have purchased. Please check that the functions you choose work fine in this demo project. The output files will be in /samples/out.