PDF Java Toolkit

Compiling and running the samples with Eclipse

Download and Install Eclipse

Datalogics recommends installing Eclipse Standard or Eclipse IDE for Java Enterprise Edition for Developers (www.eclipse.org), version 4.3 or later. Datalogics PDF Java Toolkit requires, at a minimum, Java Developers Kit (JDK) version 6.0 (www.java.com) and to use Talkeetna, to easily create PDFs, you will need to install JDK 7.0 or later.If you are running an earlier version of Eclipse on your machine it should work, however.

Importing the Samples Project into Eclipse

The samples for Datalogics PDF Java Toolkit are distributed as a Maven project that can be imported into Eclipse. With Eclipse open, right click on the Project Explorer window and select Import, the menu item should look like this:


After you open the Import dialog, select Maven and expand it to view the options for importing a Maven project. Because the samples for Datalogics PDF Java Toolkit are distributed as a Maven project, select the option to import Existing Maven Projects.

Then press Next.
Click the Browse button and navigate to the directory where the unzipped copy of Datalogics PDF Java Toolkit is located.

Select the samples directory and click OK. This will search the samples directory for any existing Maven project and ask you to select the ones you would like to import, there should only be one.

With the single Maven project for the samples selected to be imported, click Finish. Eclipse will now import the samples project and start downloading the required third party dependencies, this will take a minute or two.

Once Eclipse has finished downloading the required dependencies, you can browse through the samples to find any that you are interested in and build/run them!