Skip to content
ComPDF
DemoSampleAPI ReferenceFAQ
New Release

Open-Source PDF SDK & AI Document Processing

Get the full self-hosted SDK and AI document processing on GitHub. One-click deploy to quickly build your document workflows.

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

    folder

    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.