diff --git a/griaulefingerprintmanager/src/main/java/ke/go/moh/oec/griaulefingerprintmanager/GriauleFingerprintManager.java b/griaulefingerprintmanager/src/main/java/ke/go/moh/oec/griaulefingerprintmanager/GriauleFingerprintManager.java index b8bc95b..f77afe1 100644 --- a/griaulefingerprintmanager/src/main/java/ke/go/moh/oec/griaulefingerprintmanager/GriauleFingerprintManager.java +++ b/griaulefingerprintmanager/src/main/java/ke/go/moh/oec/griaulefingerprintmanager/GriauleFingerprintManager.java @@ -64,8 +64,10 @@ public void setFingerprintingComponent(FingerprintingComponent fingerprintingCom private void initialize() throws MissingFingerprintManagerImpException { try { + String dir = System.getProperty("user.dir"); + GrFingerJava.setLicenseDirectory(new File(dir)); + GrFingerJava.installLicense("RXFAI-LOUMO-BHIIG-NNDIF"); matchingContext = new MatchingContext(); - //GrFingerJava.installLicense("ZMFAG-PKWUK-CABDA-KSDJF"); //TODO: Investigate why this line sometimes hangs GrFingerJava.initializeCapture(this); showMessage("Waiting for device.");