Hello everyone,<br>I'm working on Ubuntu 10.10, installed libvirt and created a project in Netbeans, I included jna.jar and libvirt-0.4.7.jar. And guess what, I get the exception below when I'm trying to run test.java which connects to test:///default.<br>
<br>Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'virt': libvirt.so: cannot open shared object file: No such file or directory<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 novatest_v01.Main.main(Main.java:21)<br><br>I'm sure this question has been asked dozens of times, sorry.<br>
But any answer/comment is appreciated.<br><br>Thanks <br>Kadir<br>