Klausos Klausos
Klausos Klausos

Reputation: 16060

Cannot find the shared library (java.lang.UnsatisfiedLinkError)

I need to run my Eclipse project on a different laptop. The following error occurs when running the code:

Exception in thread "main" java.lang.UnsatisfiedLinkError: The shared library C:\Archivos de programa\ECLiPSe 6.0\lib\i386_nt\ec_java_load.dll could not be found.

How can I configure the correct path to "ec_java_load.dll"? It should be "C:\Program Files..." instead on the current one.

Upvotes: 0

Views: 405

Answers (1)

ControlAltDel
ControlAltDel

Reputation: 35106

I see this a lot when moving eclipse projects around. I also see eclipse mentioned in your error string, so I think I'm on the right track.

To fix this, you have to go into the project settings - build path, remove the old non-working lib and add the right one for the environment you are in

Upvotes: 1

Related Questions