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

Free Support Forum - aspose.com

Reg Applying a License

In the “Applying a License” section you have asked us to place the License in the “The folder that contains Aspose.Words jar”.
Question 1: Is there any way we can use java command line options to pass in the path of the license file.
The reason for this is that we do not want to place the license file as part of our ear file so that when we renew our contract and purchase a new license file next year, we do not want to rebuild/deploy our application ear file just for that.
Question 2: We are using weblogic application server and we are deploying our application as a single ear file (not a unziped one). We tried placing the license file in the weblogic classpath and its not getting picked. Please advise.

Thanks for you request. You can apply license from explicit path. For example

// Set Aspose.Words license
com.aspose.words.License lic = new com.aspose.words.License();

Hope this helps.
Best regards.