Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > 'Unsatisfied Link' error in java.library.path

Reply
Thread Tools

'Unsatisfied Link' error in java.library.path

 
 
bill.blackmon@austingoodwill.org
Guest
Posts: n/a
 
      02-06-2005
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(SimpleListA pp.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.

 
Reply With Quote
 
 
 
 
Kari Ikonen
Guest
Posts: n/a
 
      02-06-2005
http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:

> 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...)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0xffc Thread 0x228 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 0 03-30-2006 03:16 PM
Error connecting to SQLExpress 2005 locally (error: 26 - Error Locating Server/Instance Specified) hfk0 ASP .Net 2 03-27-2006 08:43 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 1 03-24-2006 04:20 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 0 03-24-2006 02:22 PM
Error 500: ERROR: Cannot forward. Writer or Stream already obtained. Error JavaQueries Java 1 03-01-2005 06:30 PM



Advertisments