Displaying 2 results from an estimated 2 matches for "randomaccessfil".
Did you mean:
randomaccessfile
2011 May 23
2
How to run the java demo code contained in libguestfs package ???
Hi all,
I would like to use libguestfs to manage the virtual disk images of virtual machines on XenServer, which is a virtualization platform.
When I try to do some test of the Java codes contained in the libguestfs package, the following error promped up:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no guestfs_jni in java.library.path
at
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...Launch.java
index 3d145bb..198ea85 100644
--- a/java/t/GuestFS010Launch.java
+++ b/java/t/GuestFS010Launch.java
@@ -22,21 +22,21 @@ import com.redhat.et.libguestfs.*;
public class GuestFS010Launch {
public static void main (String[] argv)
{
- try {
- GuestFS g = new GuestFS ();
- RandomAccessFile f = new RandomAccessFile ("test.img", "rw");
- f.setLength (500 * 1024 * 1024);
- f.close ();
- g.add_drive ("test.img");
- g.launch ();
- g.wait_ready ();
- g.close ();
- File f2 = new File ("test.img");
- f2.delete ();
- }
-...