Can i use Aspose.Total.Java.lic file for com.aspose.ocr

i have Aspose.Total.Java.lic file can i use for Aspose.OCR

@rabin.samanta

Thanks for contacting support.

Yes, you can use Aspose.Total for Java license with Aspose.OCR as well. Please note that you need to set license separately for each Aspose API you are using in your application. In order to set license for Aspose.OCR, please use/add following code snippet in your existing program:

// Instantiate an instance of license and set the license file through its path
Aspose.OCR.License license = new Aspose.OCR.License();
license.SetLicense("Aspose.OCR.lic");

In case of any further assistance, please feel free to let us know.

I am not able to import Aspose.

@rabin.samanta

Would you please share a bit more details of the issue you are facing. You please share a sample console application or .java file with us along with screenshot of error you have experiencing. We will further test the scenario in our environment and address it accordingly.