<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 9, 2019 at 12:22 AM Richard W.M. Jones <<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On Mon, Jul 08, 2019 at 01:54:16PM +0300, Arik Hadas wrote:<br>> Hi,<br>> <br>> When using the libguestfs-java bindings, java.library.path should point to<br>> the place the JNI stuff resides in. In [1] it was suggested to set it<br>> to /usr/local/lib<br>> but apparently, it is deployed elsewhere in other distributions, right? so<br>> I wonder what is the recommended way of setting it in a Java application<br>> that could execute on various distributions.<br>> <br>> Additionally, the libguestfs-java bindings for Fedora 30 seem to be missing<br>> - is it a known issue?<br>> <br>> [1] <a href="https://www.redhat.com/archives/libguestfs/2012-September/msg00057.html" rel="noreferrer" target="_blank">https://www.redhat.com/archives/libguestfs/2012-September/msg00057.html</a><br>
<br>I actually have no idea about any of these issues.  However I would<br>note that the Java bindings do need some attention:<br>
<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1536762" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1536762</a><br>
<br>Patches welcome!<br></blockquote><div><br></div><div>Ack.</div><div>In addition to the things proposed in that bz, I think it would also be great to:</div><div>1. Support Java streams in addition to files - talked about it a bit with Pino at FOSDEM</div><div>2. Have a configuration file that points to the location of the JNI part at a known place (that the application can use)</div><div><br></div><div>The context of this is the integration with muCommander.</div><div>There's already an on-going initiative to leverage this functionality (!)</div><div><br></div><div>I'll try to address some of those things.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<br>Rich.<br>
<br>-- <br>Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones</a><br>Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" rel="noreferrer" target="_blank">http://rwmj.wordpress.com</a><br>virt-builder quickly builds VMs from scratch<br>
<a href="http://libguestfs.org/virt-builder.1.html" rel="noreferrer" target="_blank">http://libguestfs.org/virt-builder.1.html</a><br>
</blockquote></div></div></div>