Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading DLL in eclipse

 
samir ware
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers,
I have created a java programe which loads a DLL there by using System.loadLibrary() . It works fine when both .java , .class and .DLL files are in the same folder which is in classpath .
Now I want to call the DLL through the eclipse. Eventhough I keep the DLL in the root , JVM is not able to find the DLL .
Is there any setting that I need to do so as to invoke the DLL through the eclipse
Thanks,
Samir
[ March 22, 2008: Message edited by: Bear Bibeault ]
 
samir ware
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ..
Somehow manage to load the DLL in static block there by setting the path of the DLL in the "PATH" environement varible .Now the programe runs perfectly through the command prompt but when I try to run through the eclipse I am getting an "java.Lang.UnSatisfiedLinkEroor : name of native methode"
Can anybody please tell me what the cause behind this. How can I run my programe through eclipse
Thanks
Samir
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic