Results 1 to 2 of 2
  1. #1
    baltimore is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default ERROR: Can't find dependent libraries

    Hi, in my program, i have a native method, i don't know how to use the loadLibrary method, and where to save the .dll file?
    When i run my program, i had this error:
    Can't find dependent libraries
    what is the solution?
    Thanks

  2. #2
    mathias is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default

    Java Code:
    Syntax
    public synchronized void loadLibrary( String libname )
    Parameters
    libname
    the name of the library.
    Description
    Loads the dynamic library with the specified library name. The mapping from a library name to a specific filename is done in a system-specific manner.
    First, if there is a security manager, its checkLink method is called with the filename as its argument. This may result in a security exception.

    If this method is called more than once with the same library name, the second and subsequent calls are ignored

Similar Threads

  1. Programm Error: cannot find symbol Help?
    By junix in forum New To Java
    Replies: 2
    Last Post: 12-10-2007, 05:30 AM
  2. cannot find symbol class error
    By po0oker in forum New To Java
    Replies: 5
    Last Post: 10-31-2007, 02:52 PM
  3. Error: cannot find symbol
    By silvia in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 05:39 AM
  4. Error: cannot find symbol
    By cachi in forum AWT / Swing
    Replies: 1
    Last Post: 08-06-2007, 08:12 PM
  5. Error: cannot find symbol constructor
    By zoe in forum New To Java
    Replies: 1
    Last Post: 07-24-2007, 08:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •