Free Support Forum - aspose.com

Apply license

I’ve bought the license for word and pdf kit, for apply the word license key i put the lic file into same jar folder and add the follow code line
var license = Packages.com.aspose.words.License();
license.setLicense(“lib//Aspose.Words.lic”);
and all work correctly, doing the same with pdf kit something wrong, do you know wich could be the problem ? Thanks.


This message was posted using Page2Forum from License (Aspose.Pdf.Kit for Java) - Aspose.Pdf.Kit for .NET and Java

Hi,

Thanks for considering Aspose.

Please try using following code snippet. Incase of any further query, feel free to contact.

com.aspose.pdf.kit.License license = new com.aspose.pdf.kit.License();

license.setLicense("lib//Aspose.Pdf.Kit.lic"); //locaiton where Aspose.Pdf.Kit is located