We’are using Aspose.cells 1.7.5.0 for Java.
It is not evaluation version, but it always includes a worksheet which contains a message
"Evaluation only. Created with Aspose.Cells for Java…".
How can we remove this evaluation worksheet?
We want to create a workbook without a evaluation worksheet.
Please try the latest version. And how do you set the license? What’s the environment: OS, JDK …?
Hi,
If you do not set the lisence file , the evaluation sheet will be added when you save the file.
We set the licence file, but it doesn’t work.
We’are using a fixed jar file from Warren’s reply. (Forums no.76292 in reply to 75640)
and jdk1.5 and linux.
What are we missing?
error message is:
com.aspose.cells.AsposeLicenseException: The license is not valid for this product.
at com.aspose.cells.License.a(Unknown Source)
at com.aspose.cells.License.setLicense(Unknown Source)
program code is:
License license = new License();
FileInputStream inputStream = null;
try {
String pass = request.getSession().getServletContext().getRealPath("/") +
“WEB-INF/config/Aspose.Cells.lic.xml”;
inputStream = new FileInputStream(pass);
license.setLicense(inputStream);
} catch (AsposeLicenseException e) {
e.printStackTrace();
} catch (FileNotFoundException e) {
e.printStackTrace();
} finally {
if (inputStream != null)
try {
inputStream.close();
} catch (IOException e) {
e.printStackTrace();
}
}
Could you please send your license file to nanjing@aspose.com? I think you may purchased Aspose.Cells for .Net, not the Java product.
I checked your file. It’s for .net version, not for java version. Please contact our sales team to change your license file. You can post your request at http://www.aspose.com/Community/Forums/220/ShowForum.aspx
.
Thank you for reply.
We’ve purchased .Java version.
We’ll mail to your sales team and ask them to exchange .NET license for .Java license.