Example Project for Java Library

The PSPDFKit Java Library comes with an example application called the Catalog app, which contains many useful examples for exploring the different features of PSPDFKit and getting started quickly. You can find the app in the Example folder of the SDK zip file. The SDK zip file can be downloaded from the PSPDFKit Portal or by requesting an evaluation license of PSPDFKit.

Windows

Requirements

Running the Catalog App

To build the Catalog app:

  • Extract PSPDFKit-java-{version}.zip to your desired location and cd into the root of its directory.

  • cd into the Catalog (cd catalog).

  • Replace the YOUR_LICENSE_KEY_GOES_HERE string in build.gradle with the trial or development activation key you have been issued.

  • Build and run the Catalog application (gradlew.bat runJava).

Linux

Requirements

Mac

Requirements

  • macOS 10.14.6 Mojave

  • JDK8+ (brew cask install java)

  • Gradle (brew install gradle)

Running the Catalog App

To build the Catalog app:

  • Extract PSPDFKit-java-{version}.zip to your desired location and cd into the root of its directory.

  • cd into the Catalog (cd catalog).

  • Replace the YOUR_LICENSE_KEY_GOES_HERE string in build.gradle with the trial or development activation key you have been issued.

  • Build and run the Catalog application (./gradlew runJava).