We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Using Aspose.Cells for Java. Issue while applyign the license

We are using Aspose.Cells for Java.(aspose-cells-8.2.1.4.jar). We recently purchased a license and I am trying to apply it in our code.
It is getting applied properly I believe.(No exceptions).

But still the generated excel files have the “Evaluation” worksheet in it.

What could be wrong?
Need help.


This message was posted using Page2Forum from /community/public/documentation

Hi Rabeesh,


Thank you for considering Aspose APIs.

Please try setting the license in your application as follow and see if you get the “Evaluation” worksheet in the resultant file.

Java

com.aspose.cells.License license = new com.aspose.cells.License();
license.setLicense(licenseFile);
if(license.isLicenseSet())
{
System.out.println(“License Set”);
com.aspose.cells.Workbook workbook = new com.aspose.cells.Workbook();
workbook.save(“output.xlsx”, SaveFormat.XLSX);
}

Moreover, the latest version of Aspose.Cells for Java is 8.3.0. In case you get the Evaluation worksheet in the resultant spreadsheet with your current version of the API, we would request you to try the case by upgrading the API to latest version 8.3.0. You can download the latest version from the below link.
http://www.aspose.com/community/files/72/java-components/aspose.cells-for-java/entry587446.aspx