Q: I am evaluating jPDFPrint and jOfficeConvert to send both PDF and Microsoft Word documents to the printer using Java. Both jar work fine separately but when I try to include both jars in the classpath, I am getting different exception such as:

 Exception in thread "main" java.lang.IncompatibleClassChangeError: Implementing class

or

  Exception in thread "main" java.lang.VerifyError: (class: com/qoppa/pdfPrint/PDFPrint, method: signature: (Ljava/lang/String;Lcom/qoppa/pdf/IPassword;)V) Incompatible argument to function

A: The individual libraries we distribute on our website can not be used in the same class path:

  • If you need to use two of any of the following libraries: jPDFAssemble, jPDFFields, jPDFImages, jPDFPrint, jPDFSecure, jPDFText, jPDFWriter, you can download jPDFProcess.jar which includes all these individual libraries. You can use this jar and simply set the key on the 2 libraries that you are using. You may consider purchasing jPDFProcess instead of the 2 individual libraries, if you think that you might need additional functions in the future.
  • If you need to use a combination of two libraries that include jPDFPreflight, jPDFOptimizer, jPDFWeb, jOfficeConvert, or any of of our PDF visual components, email us at contact support and we can send you a combined jar file.