Thanks, do you have any guides or manuals about building the java bindings? :-)
 
 
2011-05-23

毛宏 
 

发件人: Richard W.M. Jones
发送时间: 2011-05-23  18:05:33
收件人: 毛宏
抄送: libguestfs
主题: Re: Re: Re: [Libguestfs] How to run the java demo codecontainedinlibguestfs package ???
On Mon, May 23, 2011 at 05:59:02PM +0800, 毛宏 wrote:
> Yes, I downloaded libguestfs-1.10.3.tar.gz from
> http://libguestfs.org/download/1.10-stable/, but I can't find
> libguestfs_jni.so.* files in the package, do it need to compile the
> c source to manually build a libguestfs_jni.so.1 or the jar file ?
Yes, you definitely need to compile the program, otherwise nothing is
going to work.
If what you're looking for is a binary (pre-built) package, then these
are available for several Linux distros including Fedora, RHEL (and
derivatives), Debian and Ubuntu.  See:
http://libguestfs.org/FAQ.html#binaries
IIRC the Debian/Ubuntu ones don't have the Java bindings built, but
they should be reasonably easy to build.
Rich.
-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top