Skip to content

ComPDFKit/compdfkit-pdf-sdk-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComPDF SDK for Java

As part of the KDAN ecosystem, ComPDF SDK for Java comprehensive functions for quickly generating, viewing, annotating, editing, and signing PDFs, and more. It is feature-rich and battle-tested, making PDF files process and manipulation easier and faster.

If you find this library helpful, please consider giving us a ⭐ Star on GitHub! Have feedback or questions? Join the conversation in our Discussions.

Why ComPDF SDK for Java?

  • Easy to Integrate: Integrate PDF functionalities easily with our powerful SDK and clear documentation and guides with few lines of code.

  • Fully Customizable UI: Design a unique interface for your products with fully customizable UI source code by a high-performing SDK.

  • Comprehensive PDF Features: Supports PDF generation, viewing, annotation, page editing, content editing, conversion, OCR, redaction, signing, forms, parsing, measurement, compression, comparison, color separation, batch processing, and more.

  • Faster Time-to-Market: Comprehensive SDK libraries save your time and expenses and roll out your applications and projects.

  • High-quality Service: We provide 24/7 professional one-to-one technical support, including onsite service and remote assistance via phone and email.

Table of Contents

Related

Requirements

ComPDF SDK for Java requires apps to enable Java 8 language features to build.

  • Programming Environment: Java JDK 1.8 and higher.

  • Supported Platforms

    • Mac (intel & M1)
    • Linux (x86)

How to Run a Demo

ComPDF 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 ComPDF 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.

How to Use ComPDF SDK for Java in Java Applications

This section will help you to quickly get started with ComPDF SDK to make a Java application with step-by-step instructions.

Create a New Project

Create a Java application using the IDE. Here we create a new Java project.

Add the Package of ComPDF SDK for Java

  1. The first thing we need to do is to import ComPDF SDK for Java. Copy "lib" to the project.

  1. Right click on the SDK and select Add as Library....

  2. Add the following code to Main.java:

    static{
        try {
           NativeKMPDFKit.initialize("your license", "your deviceId", "", Constants.LIB_DIR_NAME);
        } catch (FileNotFoundException e) {
              throw new RuntimeException(e);
        }
    }
  3. Start the main method to print out the information of your computer's system version. If the information is printed successfully, you have integrated ComPDF SDK for Java successfully!

Free Trial and License

ComPDF SDK offers a 30-day free trial so you can evaluate core PDF capabilities in your own application.

To get started:

  1. Apply for a free trial
  2. Review supported trial features and licensing details
  3. Follow the integration guides above and license steps to activate the SDK in your project

For custom deployments, advanced features, or volume licensing, please contact our sales team

Support

ComPDFKit has a professional R&D team that produces comprehensive technical documentation and guides to help developers. Also, you can get an immediate response when reporting your problems to our support team.

  • For detailed information, please visit our Guides page.

  • For technical assistance, please reach out to our Technical Support.

  • To get more details and an accurate quote, please contact our Sales Team.

Changelog

Go to our Changelog to keep up with the latest updates, improvements, and bug fixes.

About

ComPDF SDK for Java is a PDF library for server-side applications enables developers to seamlessly integrate advanced PDF features, such as PDF viewing, editing, annotating, and more.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages