java.lang.UnsatisfiedLinkError: com.abbyy.FREngine.Engine.unload()


I am using the EnginesPool from the java samples and during the initialization of the Engines Pool I got an exception like this:

Exception in thread "main" java.lang.UnsatisfiedLinkError: com.abbyy.FREngine.Engine.unload()V
    at com.abbyy.FREngine.Engine.unload(Native Method)
    at com.abbyy.FREngine.Engine.DeinitializeEngine(
    at com.snapaddy.ocr.server.scanner.EnginesPoolInit.GetAllowedCoresNumber(
    at com.snapaddy.ocr.server.scanner.EnginesPoolInit.initialize(
    at com.snapaddy.ocr.server.Main.main( 

This exception doesn't cause serious issue at this moment, because my server works well, but in long term I would like to know what the issue can be.

Here is the code where the exception came :

private static int GetAllowedCoresNumber(String projectId) throws Exception {
        int cores = 0;
        // It's need to load FREngine instance to get information about license
        IEngine engine;
        try {
            engine = Engine.GetEngineObject(ScanningConfigs.getDllFolder(), "");
            ILicense license = engine.GetAvailableLicenses(projectId, "").Find(projectId);
            if (license == null) {
                throw new Exception("License " + projectId + " not found!");
            cores = license.getAllowedCoresCount();
        } finally {
        return cores;

The exception came from the Engine.DeinitializeEngine().

I am using FineReader Engine 11 on a Windows server.

Thanks for the help!

Regards, Franciska



1 comment

  • Avatar
    Oksana Serdyuk

    Kindly provide the following information to

    1. The serial number of your FREngine package.

    2. The build number of your FREngine distribution. To determine the build number please see the Readme.htm file.

    3. The FREngine log, which can be obtained by calling the Engine.StartLogging() method in your application right after the Engine object was created.

    Thank you in advance!

    Comment actions Permalink

Please sign in to leave a comment.