Re: UnsatisfiedLinkError Problem



On 26 Aug 2005 09:57:09 -0700, MrFredBloggs@xxxxxxxxxxx wrote or
quoted :

>I am writing a small application using NetBeans 4.1. The application
>relies in part on some IBM jar files which refer to a dll that is in
>the same directory. When I run the application I get a
>UnsatisfiedLinkError because the application can't find the dll.

You, or whomever uses the native classes in it has to explicitly load
it. the dll has to be on the library path.

See http://mindprod.com/jgloss/jni.html

This is one of the most frustrating features of JNI. So often the
system just can't seem to find the DLLs and you can't for the life of
you figure out why. Then suddenly like a rainbow in the sky, it starts
to work.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.



Relevant Pages

  • Re: whats different between asp application and web site
    ... "this means pages can not refer to each other", ... "Without an assembly making a reference to another that it wishes to use the ... all files in the appcode folder go into one dll. ... then the page implements the interface. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: UnsatisfiedLinkError Problem
    ... > I am writing a small application using NetBeans 4.1. ... > relies in part on some IBM jar files which refer to a dll that is in ... > UnsatisfiedLinkError because the application can't find the dll. ... Your best bet is to read the documentation of "some IBM jar files". ...
    (comp.lang.java.help)
  • Reg. Access Violation When Accessing STL Object between a DLL and
    ... we access a STL object created in one DLL or EXE through a pointer or ... reference in a different DLL or EXE ( ... Please refer the above mentioned article for more details. ...
    (microsoft.public.vc.stl)
  • Re: MSI and dll file
    ... my first dll should refer to the second dll. ... >>linked up with a dll file, MSI can auto find out the related dependent dll ...
    (microsoft.public.vb.general.discussion)
  • Re: Reg. Access Violation When Accessing STL Object between a DLL and
    ... >we access a STL object created in one DLL or EXE through a pointer or ... >reference in a different DLL or EXE ( ... > Please refer the above mentioned article for more details. ... to worry about this explicit instantiation and exporting approach. ...
    (microsoft.public.vc.stl)