Assuming your license key is 123456 for your Production server, you can validate the key against the jar (i.e, make sure you have the good key for the good version), and your server (i.e make sure you have the good key for your server) by using the steps below, given for the jPDFImages library but which can be easily extrapolated for any of Qoppa’s PDF library.

Validate the license key using command-line
This command will validate that the key works correctly on your server.

// jOfficeConvert
java -jar jOfficeConvert.jar -validatekey 123456
// jPDFAssemble
java -jar jPDFAssemble.jar -validatekey 123456
// jPDFImages
java -jar jPDFImages.jar -validatekey 123456
// jPDFOptimizer
java -jar jPDFOptimizer.jar -validatekey 123456
// jPDFProcess
java -jar jPDFProcess.jar -validatekey 123456
// jPDFPrint
java -jar jPDFPrint.jar -validatekey 123456
// jPDFSecure
java -jar jPDFSecure.jar -validatekey 123456
// jPDFText
java -jar jPDFText.jar -validatekey 123456
// jPDFWeb
java -jar jPDFWeb.jar -validatekey 123456

Validate the license key using Java
If the command above validates, but you are still getting watermark when running within your application, you can also validate the key within your Java program inside your environment. Make sure you have jar in the classpath.

// jOfficeConvert
WordDocument.KeyInfoWordConvert.main(new String []{"-validatekey", "123456"});
// jPDFAssemble
PDFAssemble.KeyInfoAssemble.main(new String[]{"-validatekey", "123456"});
// jPDFImages
PDFImages.KeyInfoImages.main(new String[]{"-validatekey", "123456"});
// jPDFOptimizer
PDFOptimizer.KeyInfoOptimizer.main(new String[]{"-validatekey", "123456"});
// jPDFProcess
PDFDocument.KeyInfoProcess.main(new String[]{"-validatekey", "123456"});
// jPDFPrint
PDFPrint.KeyInfoPrint.main(new String[]{"-validatekey", "123456"});
// jPDFSecure
PDFSecure.KeyInfoSecure.main(new String[]{"-validatekey", "123456"});
// jPDFText
PDFText.KeyInfoText.main(new String[]{"-validatekey", "123456"});
// jPDFWeb
PDFWeb.KeyInfoWeb.main(new String[]{"-validatekey", "123456"});

If the key is invalid, the following output will show:

Key Validation: Invalid Key