0

With reference to VHD Java library , I tried to use libguestfs.. but I am unable to get it work. At the first glance it seems that it is not working on the windows environment.

But for the try I am stuck at first point only, how to get jar file for com.redhat.et.libguestfs.* classes. I might be wrong in my execution plan.. kindly help.

Is there any better way to achieve my goal of creating , mounting , unmounting VHD's through java program.

Thanks in advance...

Community
  • 1
  • 1
Dhruv
  • 10,291
  • 18
  • 77
  • 126
  • Looking at the SO answer you referring to it reads as if libguestfs doesn't really support windows, just Linux and OSX... – beny23 Sep 24 '12 at 10:44

1 Answers1

0

The Java bindings, which contain the com.redhat.et.libguestfs package, are available as part of the source distribution tarball. This can be obtained from the libguestfs download page; select the latest version, currently 1.18.8.

Alternatively, a pre-compiled JAR might be available from the Maven repository.

Either way, on Windows you likely have to compile the native libguestfs library yourself.

Mechanical snail
  • 29,755
  • 14
  • 88
  • 113