Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: The specified module could not be found. #7

Closed
budhasanjeev opened this issue Nov 16, 2016 · 3 comments

Comments

@budhasanjeev
Copy link

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: The specified module could not be found.

at com.sun.jna.Native.open(Native Method)
at com.sun.jna.Native.open(Native.java:1759)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:260)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398)
at com.sun.jna.Library$Handler.<init>(Library.java:147)
at com.sun.jna.Native.loadLibrary(Native.java:412)
at com.sun.jna.Native.loadLibrary(Native.java:391)
at net.sourceforge.lept4j.util.LoadLibs.getLeptonicaInstance(LoadLibs.java:78)
at net.sourceforge.lept4j.Leptonica.<clinit>(Leptonica.java:40)
@nguyenq
Copy link
Owner

nguyenq commented Nov 19, 2016

We'll need a lot of more info in order to assist you effectively. Please provide info about your software configuration, OS, JDK, Leptonica, etc.

@budhasanjeev
Copy link
Author

Thank you for the reply.
We are working on line detection in image. Therefore I was going implement
using your code.

System configuration
Windows 7
Jdk 8

On 19 Nov 2016 9:10 pm, "Quan Nguyen" notifications@github.com wrote:

We'll need a lot of more info in order to assist you effectively. Please
provide info about your software configuration, OS, JDK, Leptonica, etc.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#7 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJf3ITfI89_nMubWnmaRJ-efyYEn5QNnks5q_xTkgaJpZM4Kzfnm
.

@nguyenq
Copy link
Owner

nguyenq commented Nov 19, 2016

liblept173.dll is bundled in the JAR file. During runtime, the DLL is extracted, copied to the system default Temp directory, and loaded from there. So make sure your C:\Users\<username>\AppData\Local\Temp\lept has the DLL file. Try mvn test to run the unit tests.

@nguyenq nguyenq closed this as completed Jun 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants