GroupDocsGists
10/24/2017 - 1:18 PM

applyLicense.java

// For complete examples and data files, please go to https://github.com/groupdocs-annotation/GroupDocs.Annotation-for-Java
try {
       // Setup license
	License lic = new License();
	lic.setLicense(licensePath);
} catch (Exception exp) {
	System.out.println("Exception: " + exp.getMessage());
	exp.printStackTrace();
}