Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-04-2007, 11:14 PM
Member
 
Join Date: Jul 2007
Posts: 40
baltimore is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-07-2007, 08:37 AM
Member
 
Join Date: Jul 2007
Posts: 40
mathias is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Programm Error: cannot find symbol Help? junix New To Java 2 12-10-2007 07:30 AM
cannot find symbol class error po0oker New To Java 5 10-31-2007 04:52 PM
Error: cannot find symbol silvia New To Java 1 08-07-2007 07:39 AM
Error: cannot find symbol cachi AWT / Swing 1 08-06-2007 10:12 PM
Error: cannot find symbol constructor zoe New To Java 1 07-24-2007 10:24 PM


All times are GMT +3. The time now is 11:34 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org