{"id":19756879,"url":"https://github.com/compdfkit/compdfkit-pdf-sdk-java","last_synced_at":"2026-02-24T03:31:33.791Z","repository":{"id":241039359,"uuid":"800262585","full_name":"ComPDFKit/compdfkit-pdf-sdk-java","owner":"ComPDFKit","description":"ComPDFKit Java PDF SDK library for server-side applications enables developers to seamlessly integrate advanced PDF features, such as PDF viewing, editing, annotating, and more.","archived":false,"fork":false,"pushed_at":"2024-07-09T08:39:50.000Z","size":55704,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-27T22:41:54.205Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ComPDFKit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-14T02:17:38.000Z","updated_at":"2025-05-14T08:46:08.000Z","dependencies_parsed_at":"2025-01-10T22:50:08.898Z","dependency_job_id":null,"html_url":"https://github.com/ComPDFKit/compdfkit-pdf-sdk-java","commit_stats":null,"previous_names":["compdfkit/compdfkit-pdf-sdk-java"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ComPDFKit/compdfkit-pdf-sdk-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComPDFKit%2Fcompdfkit-pdf-sdk-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComPDFKit%2Fcompdfkit-pdf-sdk-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComPDFKit%2Fcompdfkit-pdf-sdk-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComPDFKit%2Fcompdfkit-pdf-sdk-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ComPDFKit","download_url":"https://codeload.github.com/ComPDFKit/compdfkit-pdf-sdk-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComPDFKit%2Fcompdfkit-pdf-sdk-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29770766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T03:15:54.600Z","status":"ssl_error","status_checked_at":"2026-02-24T03:15:54.143Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T03:17:18.240Z","updated_at":"2026-02-24T03:31:33.772Z","avatar_url":"https://github.com/ComPDFKit.png","language":"HTML","readme":"# ComPDFKit\n\n[ComPDFKit PDF SDK](https://www.compdf.com/) is a robust PDF library, which offers comprehensive functions for quickly viewing, annotating, editing, and signing PDFs. It is feature-rich and battle-tested, making PDF files process and manipulation easier and faster.\n\nComPDFKit seamlessly operates on [Web](https://www.compdf.com/web), [Windows](https://www.compdf.com/windows), [Android](https://www.compdf.com/android), [iOS](https://www.compdf.com/ios), [Mac](https://www.compdf.com/contact-sales), and [Server](), with support for cross-platform frameworks such as [React Native](https://www.compdf.com/react-native), [Flutter](https://www.compdf.com/flutter), etc.\n\n\n# Introduction\nComPDFKit [Java PDF Library](https://www.compdf.com/pdf-library/java) allows you to quickly add PDF functions to any Java application, elevating your Java programs to ensure efficient development. \n\n# Related\n\n* Developer Guides - [Java PDF Library for Server](https://www.compdf.com/guides/pdf-sdk/java/overview)\n* [How to make a Java application with ComPDFKit PDF SDK](https://www.compdf.com/guides/pdf-sdk/java/make-a-program)\n* [Java PDF Library Code Samples](https://www.compdf.com/guides/pdf-sdk/java/samples)\n* [ComPDFKit PDF API Library for Java](https://github.com/ComPDFKit/compdfkit-api-java)\n\n# Get Started\n\nIt is easy to embed ComPDFKit PDF SDK in your Java application with a few lines of Java code. Take just a few minutes and get started.\n\nThe following sections introduce the requirements, structure of the installation package, and how to make a PDF Reader/Editor in Java with ComPDFKit PDF SDK.\n\n\n\n## Requirements\n\nComPDFKit PDF SDK for Java requires apps to enable Java 8 language features to build.\n\n- Programming Environment: Java JDK 1.8 and higher.\n\n- Supported Platforms\n\n    - Mac (intel \u0026 M1)\n    - Linux (x86)\n\n\n## How to Run a Demo\n\nComPDFKit 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.\n\n1. Import the ***\"samples\"*** project on IDE.\n\n2. Navigate to the ***\"JAVA\"*** folder which is in ***\"DocumentInfoTest\"*** file and run the sample with. For example `/samples/DocumentInfoTest/JAVA`.\n\n   ```\n   ./RunTest.sh\n   ```\n\n   ![](https://compdf.oss-us-east-1.aliyuncs.com/jni/folder.png)\n\n   **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`.\n\n\n\n## How to Use ComPDFKit PDF SDK for Java in Java Applications\n\nThis section will help you to quickly get started with ComPDFKit PDF SDK to make a Java application with step-by-step instructions.\n\n\n\n### Create a New Project\n\nCreate a Java application using the IDE. Here we create a new **Java** project.\n\n![](https://compdf.oss-us-east-1.aliyuncs.com/jni/create-project.png)\n\n\n\n### Add the Package of ComPDFKit PDF SDK for Java\n\n1. The first thing we need to do is to import ComPDFKit PDF SDK for Java. Copy ***\"lib\"*** to the **project**.\n\n![](https://compdf.oss-us-east-1.aliyuncs.com/jni/copy-libs.png)\n\n2. Right click on the SDK and select **Add as Library...**.\n\n   ![](https://compdf.oss-us-east-1.aliyuncs.com/jni/add-lib.png)\n\n3. Add the following code to **Main.java**:\n\n   ```java\n   static{\n       try {\n          NativeKMPDFKit.initialize(\"your license\", \"your deviceId\", \"\", Constants.LIB_DIR_NAME);\n       } catch (FileNotFoundException e) {\n             throw new RuntimeException(e);\n       }\n   }\n   ```\n\n4. Start the `main` method to print out the information of your computer's system version. If the information is printed successfully, you have integrated ComPDFKit PDF SDK for Java successfully!\n\n   ![](https://compdf.oss-us-east-1.aliyuncs.com/jni/result1.2.0.png)\n\n### Apply the License\nComPDFKit PDF SDK is a commercial SDK, which [requires a license](https://www.compdf.com/guides/pdf-sdk/java/apply-the-license-key) to grant developer permission to release their apps. Each license is only valid for one deviceId in development mode. \n\nContact ComPDFKit's [sales team](https://www.compdf.com/contact-sales) to get a free 30-day license to test the project.\n\n\n# Documentation\nFull [documentation for ComPDFKit for Java PDF Libary](https://www.compdf.com/guides/pdf-sdk/java/overview) can be found here.\n\n\n# Support\nComPDFKit has a professional R\u0026D 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.\n\n* For detailed information, please visit our [Guides](https://www.compdf.com/guides/pdf-sdk/java/overview) page.\n\n* For technical assistance, please reach out to our [Technical Support](https://www.compdf.com/support).\n\n* To get more details and an accurate quote, please contact our [Sales Team](https://compdf.com/contact-us).\n\n# Note\nWe are glad to announce that you can register a ComPDFKit API account for a [free trial]() to process 1000 documents per month for free.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompdfkit%2Fcompdfkit-pdf-sdk-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcompdfkit%2Fcompdfkit-pdf-sdk-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompdfkit%2Fcompdfkit-pdf-sdk-java/lists"}