<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<div><br></div><div>I am trying to develop a Java application with libvirt 0.5.1. </div><div>I am trying this on Windows7 64bit. I downladed libvirt-0.5.1.jar and jna.jar files and added them to the Buildpath. Then I installed VirtViewer for windows 64 bit and copied dll files. </div><div><br></div><div>In my application if i only use </div><div><u>System.setProperty("jna.library.path", PATH_TO_DLL);</u></div><div> </div><div>then i see <b><i>"UnsatisfiedLinkError: Unable to load library 'virt'" </i></b>error. <span style="font-size: 12pt;">If i also use </span></div><div><u>System.load(<span style="font-size: 12pt;">PATH_TO_DLL</span><span style="font-size: 12pt;">); </span></u></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">then i see <b><i>"</i></b></span><b><i>UnsatisfiedLinkError:PATH_TO_DLL: <span style="font-size: 12pt;">Can't find dependent libraries"</span></i></b></div><div><span style="font-size: 12pt;"><br></span></div><div>I searched everything in internet but couldn't find the same error with dependent libraries. What's missing in my setup? and why just setting jna path won't work for me, as it seems like worked on others. </div><div><br></div><div>any help will welcome.</div><div><br></div><div>regards,</div><div>Memed</div>                                         </div></body>
</html>