Hi Eric,<br><br>I installed libvirt-0.10.2.tar.gz and now it is working correctly. i can run "virsh connect xen:///" and after "virsh list".<br>After, I installed libvirt-java-0.4.9.tar.gz. I am trying to use test.java. I compiled using :<br>

javac -classpath /usr/java/jdk1.6.0_34/bin/libvirt-0.4.9.jar test.java<br>And I runned using :<br>java -classpath .:/usr/java/jdk1.6.0_34/bin/jna.jar:/usr/java/jdk1.6.0_34/bin/libvirt-0.4.9.jar test<br>And I got this error that I do not know how to fix. Could you please help me?<br>

Best Regards, Felipe.<br><br>libvir: Network Driver error : Requested operation is not valid: network is already active as 'createst'<br><=====================================><br><============== FIXME ================> <br>

exception caught:org.libvirt.LibvirtException: Requested operation is not valid: network is already active as 'createst'<br>level:VIR_ERR_ERROR<br>code:VIR_ERR_OPERATION_INVALID<br>domain:VIR_FROM_NETWORK<br>hasConn:false<br>

hasDom:false<br>hasNet:false<br>message:Requested operation is not valid: network is already active as 'createst'<br>str1:Requested operation is not valid: %s<br>str2:network is already active as 'createst'<br>

str3:null<br>int1:-1<br>int2:-1<br><br><br><div class="gmail_quote">On Mon, Oct 1, 2012 at 6:39 PM, Eric Blake <span dir="ltr"><<a href="mailto:eblake@redhat.com" target="_blank">eblake@redhat.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 10/01/2012 10:59 AM, Felipe Oliveira Gutierrez wrote:<br>
> Hi everyone,<br>
><br>
> I am new using libvirt,<br>
><br>
> Do I have to install libvirt-0.10.2.tar.gz alone, or I need to install<br>
> libvirt-java-0.4.9.tar.gz after to developing codes using java?<br>
<br>
</div>If you want to use the Java bindings, then yes, you have to install both<br>
libvirt and libvirt-java (if you are using a distro, installing<br>
libvirt-java should automatically pull in libvirt from the package<br>
dependencies).<br>
<div class="im"><br>
><br>
> But I don't find the libvirt.jar file to copy.<br>
<br>
</div>Unfortunately, I can't answer this one, since I haven't used the<br>
libvirt-java bindings myself.  Maybe someone else can chime in.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Eric Blake   <a href="mailto:eblake@redhat.com">eblake@redhat.com</a>    <a href="tel:%2B1-919-301-3266" value="+19193013266">+1-919-301-3266</a><br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div><b><font color="#000099">-- Felipe Oliveira Gutierrez</font></b></div>
<div><b><font color="#000099">-- </font></b><a href="mailto:lipe.82@gmail.com" target="_blank"><b><font color="#000099">lipe.82@gmail.com</font></b></a></div>
<div><b><font color="#000099">-- <a href="https://sites.google.com/site/lipe82/Home/diaadia" target="_blank">https://sites.google.com/site/lipe82/Home/diaadia</a></font></b></div><br>