<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16421"><LINK rel=stylesheet
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2 face=Verdana>Hi all,</FONT></DIV>
<DIV style="TEXT-INDENT: 2em">I would like to use libguestfs to manage the
virtual disk images of virtual machines on XenServer, which is a virtualization
platform. </DIV>
<DIV style="TEXT-INDENT: 2em"><FONT size=2 face=Verdana>When I try to do
some test of the Java codes contained in the libguestfs package, the
following error promped up:</FONT></DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">
<DIV>Exception in thread "main" java.lang.UnsatisfiedLinkError: no guestfs_jni in java.library.path</DIV>
<DIV>at java.lang.ClassLoader.loadLibrary(Unknown Source)</DIV>
<DIV>at java.lang.Runtime.loadLibrary0(Unknown Source)</DIV>
<DIV>at java.lang.System.loadLibrary(Unknown Source)</DIV>
<DIV>at com.redhat.et.libguestfs.GuestFS.<clinit>(GuestFS.java:44)</DIV>
<DIV>at test.GuestFS005Load.main(GuestFS005Load.java:27)</DIV></DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">It seems that I need to build guestfs_jni before I
could use libguestfs through Java. But I am not clear how to get this
"guestfs_jni".......</DIV>
<DIV style="TEXT-INDENT: 2em">Does anybody know how to fix this problem? Thank
you very very much!</DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana><FONT
color=#c0c0c0></FONT></FONT> </DIV><FONT size=2 face=Verdana>
<DIV><FONT color=#000000 size=2 face=Verdana><SPAN>
<DIV> </DIV></SPAN></FONT></DIV></FONT></BODY></HTML>