<div dir="ltr">Hi, thank you for the answer but I didn't understand much of your comment. In general what are the ways to read rpm database with Java?<br><div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jun 4, 2014 at 3:30 PM, Panu Matilainen <span dir="ltr"><<a href="mailto:pmatilai@redhat.com" target="_blank">pmatilai@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 05/31/2014 09:49 AM, Peter Penzov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br>
    I need help how to read rpm packages with Java. I found that rpm<br>
database is stored into Berkeley DB database and I can read the database<br>
with Java. The biggest problem that I have is what query I need to make in<br>
order to get for example all installed rpm packages? Where I can take this<br>
information?<br>
<br>
Please I need this information!<br>
</blockquote>
<br></div></div>
The exact format of rpmdb is a private rpm implementation detail. Its not Berkeley DB bindings to Java you want, but librpm bindings. Unfortunately nobody has written one, AFAIK.<br>
<br>
<a href="http://jrpm.sourceforge.net/" target="_blank">http://jrpm.sourceforge.net/</a> might come closest but to my understanding its more of a reimplementation of rpm in Java rather than bindings to librpm.<br>
<br>
        - Panu -<br>
<br>
______________________________<u></u>_________________<br>
Rpm-maint mailing list<br>
<a href="mailto:Rpm-maint@lists.rpm.org" target="_blank">Rpm-maint@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-maint" target="_blank">http://lists.rpm.org/mailman/<u></u>listinfo/rpm-maint</a><br>
</blockquote></div><br></div>