0

Could someone please tell me how to implement the Asprise OCR library into my java program. I'm using Eclipse and I know how to import the .jar but as soon as I want to run my program it gives me errors about a .dll file that's missing.

Kjeld Perquin
  • 121
  • 2
  • 9

2 Answers2

0

I fixed it, I just had to copy the .dll that came with the .jar to System32. If you don't want to add them to System 32 just add them to your workspace and use

'System.load("dll_name_without_.dll_at_the_end");'
Kjeld Perquin
  • 121
  • 2
  • 9
0

Just FYI, Asprise OCR library for Java automatically handles the native library files since version 5.0.

Java offers two methods to load libraries and a good explanation is here Difference between System.load() and System.loadLibrary in Java

Community
  • 1
  • 1