<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi BK<br><br>Yes, I am running on windows. Is there any difference between the jar files (linux and windows).<br><br>How can i compile the source for windows.<br><br>Thanks in advance<br><br><div style="color: rgb(0, 0, 0);"><font style="color: rgb(255, 0, 0);"><strong> <span style="color: rgb(0, 0, 0);">Regards,</span></strong></font><strong style="color: rgb(0, 0, 0);"><br>Gandhiraj Natarajan</strong></div>  <div> </div><br><br>--- On <b>Sat, 11/9/10, Bryan Kearney <i><bkearney@redhat.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Bryan Kearney <bkearney@redhat.com><br>Subject: Re: [libvirt] Remote access form windows - Java bindings<br>To: "Gandhiraj Natarajan" <gandhiraj_gk@yahoo.co.in><br>Cc: libvir-list@redhat.com<br>Date: Saturday, 11
 September, 2010, 1:47 AM<br><br><div class="plainMail">Are you running on windows? This error would occur if the virt library <br>were not on the load path. You will need to compile libvirt on windows. <br>The information is here:<br><br><a href="http://libvirt.org/windows.html" target="_blank">http://libvirt.org/windows.html</a><br><br>the libvirt-java code wraps the c API which is loaded into memory via JNA.<br><br>-- bk<br><br>On 09/08/2010 11:54 PM, Gandhiraj Natarajan wrote:<br>> Hi<br>><br>> I am developing tool to collect information on XenServer which is on<br>> Opensuse 11. I am using libvirt-0.4.6.jar and and jna-3.2.4 jar files.<br>><br>> I tried to connect from Remote system(Windows) to server, but could not<br>> get the connection object.<br>><br>> Any configuration needs to be done for remote access ?<br>><br>><br>> conn = new Connect("xen+tcp://192.168.10.22/");<br>><br>> it shows the
 exception<br>><br>> Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to<br>> load library<br>> 'virt': The specified module could not be found.<br>><br>> at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:164)<br>> at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:237)<br>> at com.sun.jna.Library$Handler.<init>(Library.java:140)<br>> at com.sun.jna.Native.loadLibrary(Native.java:374)<br>> at com.sun.jna.Native.loadLibrary(Native.java:359)<br>> at org.libvirt.jna.Libvirt.<clinit>(Unknown Source)<br>> at org.libvirt.Connect.<clinit>(Unknown Source)<br>> at LibvirtCon.main(LibvirtCon.java:29)<br>><br>> Help me<br>><br>> Regards<br>> Gandhiraj Natarajan<br>><br>><br>><br>><br>> --<br>> libvir-list mailing list<br>> <a ymailto="mailto:libvir-list@redhat.com"
 href="/mc/compose?to=libvir-list@redhat.com">libvir-list@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/libvir-list" target="_blank">https://www.redhat.com/mailman/listinfo/libvir-list</a><br><br></div></blockquote></td></tr></table><br>