'Unsatisfied Link' error in java.library.path

B

bill.blackmon

I'm getting the following error message when I attempt to run an
application:

java.lang.UnsatisfiedLinkError: no jacob in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.jacob.com.Dispatch.<clinit>(Dispatch.java)
at com.wgblackmon.ebay.SimpleListApp.main(SimpleListApp.java:70)
Exception in thread "main"

I was advised elsewhere to add the jacob.dll file to my system32
directory and add an entry to my system path that refers to the .dll. I
did this and I still get the same error. I'm using Eclipse 3.0 and the
eBaySDK.
 
K

Kari Ikonen

I'm getting the following error message when I attempt to run an
application:

java.lang.UnsatisfiedLinkError: no jacob in java.library.path ....
Exception in thread "main"

I was advised elsewhere to add the jacob.dll file to my system32
directory and add an entry to my system path that refers to the .dll.

Advice to copy some random DLLs into windows/system32 is very bad advice.

Instead just specify system property -Djava.library.path=BLAH via Run
-properties in Eclipse. i.e. Arguments/VM Arguments.

BLAH=Directory where your DLLs are located.


(Well, putting BLAH into %PATH% works also of course, but...)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top