Free Support Forum - aspose.com

Licensing installation problem

Hello,



The university where I work purchased on my behalf a single developer
copy of aspose.powerpoint APIs for java. Two days ago, the purchasing
department forwarded me a copy of the Aspose.PowerPoint.lic. file,
which I placed in the directory above the aspose.powerpoint.jar file.



I am running Aspose.PowerPoint API for java on an Apple, running Mac OS 10.4.3 Tiger.



I placed the following lines of code in my application:



try {

File file =
new File("/ISDS_Tools/aspose.powerpoint/Aspose.PowerPoint.lic");

FileInputStream fis = new FileInputStream(file);

lic.setLicense(fis);

}

catch (java.io.FileNotFoundException e) { // thrown by FileInputStream

System.out.println(“File not found”);

}

catch (Exception e) {

System.out.println(“License not found”);

}



After fixing a couple of typos, I no longer get “File not found”.

However, after a couple of hours of playing around, the setLicense method still insists on throwing an exception.



Thanks in advance,



*** Delanoy

MIT Lincoln Laboratory

rld@ll.mit.edu

Hi,



Could you send me license by email to check?

tyumen@aspose.com



What exception it throws?