Dan Hirsch
2011-Oct-26 13:39 UTC
[libvirt-users] how to setup libvirt with java bindings for use
Hi, I would like to use libvirt to manipulate virtual machines of different types (KVM, ESXi etc.) I added dependencies to my project the libvirt and jna jars. trying to execute your example code I am getting a run time exception saying the library cann't be found. it an actual libvirt c library is also required, and needs to be compiled separately? can you please write down all needed steps for using libvirt with java binding? thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111026/ecc1e3e0/attachment.htm>
Bryan Kearney
2011-Oct-26 15:10 UTC
[libvirt-users] how to setup libvirt with java bindings for use
On 10/26/2011 09:39 AM, Dan Hirsch wrote:> Hi, > I would like to use libvirt to manipulate virtual machines of different > types (KVM, ESXi etc.) > I added dependencies to my project the libvirt and jna jars. > trying to execute your example code I am getting a run time exception saying > the library cann't be found. > it an actual libvirt c library is also required, and needs to be compiled > separately? > > can you please write down all needed steps for using libvirt with java > binding? > > thanks in advance. >Yes, you should have libvirt installed and in the library in your path. -- bk
Seemingly Similar Threads
- Remote access form windows - Java bindings
- Java client error on Windows 7 64 bit for Libvirt on KVM
- Using Libvirt Java Bindings on Windows 7 64bit
- java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/linux-i386/libjnidispatch.so) not found in resource path
- Beware! Newbie is in town