<div>Hi All,</div><div><br></div>Has anybody had any managed to use the libvirt java bindings on Windows 7 64bit (or similar configuration)?<div><br></div><div>I am using Java 6.<br><div><br></div><div>When I try to use the Test.class delivered with the bindings it always fails with the following error:</div>
<div><br></div><div><div>C:\Users\fwilson\Desktop\libvirt-java-0.4.7>java "-Djna.library.path=C:/Program</div><div>Files (x86)/Libvirt/lib/" -classpath .;target/classes;jars/* Test</div><div>Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load librar</div>
<div>y 'virt': The specified module could not be found.</div><div><br></div><div>        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:169)</div><div>        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:242)</div>
<div>        at com.sun.jna.Library$Handler.<init>(Library.java:140)</div><div>        at com.sun.jna.Native.loadLibrary(Native.java:368)</div><div>        at com.sun.jna.Native.loadLibrary(Native.java:353)</div><div>
        at org.libvirt.jna.Libvirt.<clinit>(Unknown Source)</div><div>        at org.libvirt.Connect.<clinit>(Unknown Source)</div><div>        at Test.main(Test.java:17)</div></div><div><br></div><div>I installed libvirt using the experimental package:</div>
<div><br></div><div><a href="http://libvirt.org/windows.html">http://libvirt.org/windows.html</a>
</div><div><br></div><div>Is this a 32bit build? Does that mean I should use a 32bit JVM? </div><div><br></div><div>In any case the above test program fails whether I use a 32 or 64 bit JVM.</div><div><br></div><div>I tried pointing jna.library.path to the libvirt bin directory instead of the lib directory but that also failed.</div>
<div><br></div><div>Thanks for any help you can offer,</div><div><br></div><div>Frank</div></div>