Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8497939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:16:02+00:00 2026-06-11T00:16:02+00:00

I made a Java OCR program using the AspriseOCR. It requires a .dll called

  • 0

I made a Java OCR program using the AspriseOCR.
It requires a .dll called AspriseOCR.dll, I copied the dll to C:/Windows/System32/
But when I use

System.load("C:/Windows/System32/AspriseOCR.dll");  

I still get a UnsatisfiedLinkError.

I’ve spent the last 2 days searching for a solution to my problem, but I couldn’t find anything that works.


Okay everyone, it works now. Turns out I also had to make a 32-bit version!
If anyone ever needs help with the OCR Engine from Asprise, pm and I’ll try to help you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T00:16:04+00:00Added an answer on June 11, 2026 at 12:16 am

    To load libraries, such as DLLs, you should use

        System.loadLibrary("libname");
    

    Where "libname" is the name of the library. You do not include the extension of the file it is stored in, or the full path to the file. For your case, you would probably call

        System.loadLibrary("AspriseOCR");
    

    to load the library you are using.

    Because loadLibrary takes a library name for an argument, not a file, you must be careful where you place the .dll. Normally, you could include it in the working directory of the application, or in a native folder such as System32. If you must put it somewhere else, be sure to appropriately set java.libary.path. For example, if the .dll is in the folder “libraries”, you should launch java with the argument

        -Djava.library.path=libraries
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use sbt to compile an Android Project made in Java, which
I have a client jar made-up using java 1.6 and used enum and other
I made a Java application which I would like to distribute on Windows, OSX
Are there any good scriptable installer/uninstaller systems made for Java projects? Ideally a system
I made a Java program that runs on a computer with two RS-232 ports.
I have made a java program with GUI. Now I want to add a
I have made a java GUI program and have added a jList on that
I have made a java program with GUI and I want a stop button
The following concurrency code, made using Java's Semaphore class, enters a deadlock, even tough,
Currently I am using custom made Java search engine. This Java engine uses Lucene

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.