Why JxDocument

Simple Integration

Load PDF Document

import com.teamdev.jxdocument.Document;

import java.io.File;

 * The sample demonstrates how to load PDF document from specified file and
 * print number of pages.

public class LoadDocumentSample {
    public static void main(String[] args) {
        File file = new File("C:\\TeamDev.pdf");
        // Load PDF document from specified file
        Document document = new Document(file);
        // Print total number of pages in the loaded document
        System.out.println("Page Count: " + document.getPageCount());
        // Close document to release all allocated resources and memory


Load PDF Document in Java

Lightweight Java Component for viewing PDF documents in Java Swing UI. See example.

Page to Image

Conversion of PDF pages to Java images. See example.

Get Text from PDF

Reading text from PDF document pages. See example.

Try the Demo

Run The Demo jxdocumentdemo.jnlp

Runs on Windows, macOS & Linux with:

Getting Help

Contact Support

During evaluation period please use the email address, provided to you in the evaluation email.

If you have an active support subscription, please use the email address, provided to you in the email confirming the licence purchase.

Ask a Question

You can ask a question on our product forum. In order to do it, you will need a Google ID.


Send email: jxdocument-forum@teamdev.com
Your message will be automatically posted on the web.

Evaluation SupportProvided for 30 days

Support Evaluation

Standard SupportProvided for one year with 25% discount for renewal

Support Standard

Premium SupportContract-based time and materials service

Support Premium
Help with the product use Help with the product use Help with the product use
Response within one business day Response within one business day Response within one business day
Provided by email Provided by email Phone, chat and remote desktop
Product updates Product updates
Feature development
Priority issue resolution
Evaluate for Free Request Renewal Request Premium

Licensing and Pricing

Licence use is governed by the product licence agreement

  • Perpetual Licence Perpetual licence
  • Free Distribution Free distribution within your application
  • Support Updates 1 year Support and updates
  • 25% Discount Support renewal with 25% discount
  • 15% Discount 15% discount on TeamDev products

Per Developer $499

  • Developer 1 developer
  • Unlimited Projects Unlimited projects
  • Support 55 hours of support for 1 year
Buy Now

Project $1,449

  • Developers Unlimited developers
  • Project 1 project
  • Support 75 hours of support for 1 year
Request Licence

Company-wide $4,699

  • Developers Unlimited developers
  • Unlimited Projects Unlimited projects
  • Support 200 hours of support for 1 year
Request Licence

Source Code For 1 Developer

$4,599 1 Per Developer licence included
Developers Licence for more developers
is also available for purchase

Frequently Asked Questions

Technical Questions

JxDocument supports Windows XP SP2, 7, 8, Server 2008, Server 2012, macOS 10.8 - 10.12, Ubuntu 10 and higher; Oracle and Apple JDKs 1.6 and higher, 32-bit and 64-bit architectures.

Yes, you can use JxDocument in Java Applet and JWS applications like standard Java library.

You can find a lot of examples in JxDocument distribution package and online at JxDocument Samples web page.

Licensing Questions

Our licensing is based on versions of JxDocument. Having purchased the licence for our product you get the right to use the current major version of the product.

Major and minor version upgrades issued during your active Standard Support subscription period are free of charge. Upon expiration of the Standard Support subscription you can renew it with a 25% discount from the actual licence price.

You only need to purchase 2 licences. We licence our library by the number of people who write code using our library.

You can distribute unlimited number of copies of your product with our library enclosed.

You may want to purchase a Project licence, which is cost-effective in case there are 3 and more developers on the team. The Project licence is bound to a single project you do, but it allows any number of developers in your company to work with our library.

Project Licence is bound to your project via a fully-qualified class name. A fully-qualified name for a class is the package name followed by the class name, separated by a period (.). For example: com.mycompany.myproduct.MyClass

This can be any class of your application. The only requirement is that it should be included into your Java application class path.

When we say “project” we have in mind one product of your company including your future product versions or potential derivative works based on your product.

The Project licence is tied to one project only.

The best solution would be to purchase the Company–wide licence, which covers any number developers and projects in one company.

Upon the licence purchase you will receive a licence archive with two types of JAR files: development.jar and runtime.jar. Development.jar is intended to be used in the development process. Runtime.jar is to be used for distribution of your software with JxDocument enclosed.

Yes, you can purchase JxDocument Source Code Licence; it is provided on a per developer basis. Please contact our sales team if you are interested in this option.

If you are doing an open source or academic project, you can apply to get a free licence. Please submit a request via Open Source or Academic tab on the evaluation form.

Thank you!

Start your free trial in few simple steps


Check Your Email

Links to download your evaluation licence and distribution archive will arrive at your inbox in a few minutes.

If the message gets lost in your mailbox, try searching for an email from JxDocument Evaluation Support with “Your Free 30 Days Trial” subject.


Install the Licence

To start using JxDocument

  • download your evaluation licence,
  • download and extract the distribution archive,
  • include all the JAR files from the lib directory and evaluation licence licence.jar in your application class path.

Get Started

Check out the Documentation articles to get JxDocument up and running in no time.


Check out the ready-made examples for instructions and ideas on what you can do with your newly gotten JxDocument.


Commercial Open Source Academic

With this licence you will be able to evaluate our product for 30 days.
The evaluation licence will not work after this time, so you will need to purchase the licence.

With this licence you will be able to evaluate our product for 30 days.
The evaluation licence will not work after this time. If you are doing an open source project, you can request a permanent licence via the link provided in the email you will receive.

With this licence you will be able to evaluate our product for 30 days.
The evaluation licence will not work after this time. You can request a licence for duration of your academic project via the link provided in the email you will receive.

You should have an existing open source project which has commits and some life period of the project.

We can provide licences only for projects distributed under non-viral licence (LGPL, Apache, etc.). Our library is proprietary and we will not be able to disclose its code.