RPM Community Forums

Mailing List Message of <rpm-users>

Re: Java bindings for RPM API

From: Jeff Johnson <n3npq@mac.com>
Date: Wed 31 Dec 2008 - 18:45:51 CET
Message-id: <9A853ED1-FA92-473B-9547-5E54EFC5ABB9@mac.com>

On Dec 31, 2008, at 12:31 PM, Derek Palma wrote:

> Hello,
>
> I have not been able to find any Java bindings for the RPM API. I  
> presume they must exist and the problem is probably due to the  
> effects of searching for Java and RPM with search engines turning up  
> 100s of unrelated things.
>

The best publically available Java bindings are "jrpm" at sourceforge.  
Note that
"jrpm" is the only attempt I've ever seen that can WRITE *.rpm  
packages, very
nicely done.

OTOH, note that the *.rpm packages produced by jrpm are "LSB format",  
which is
not the same format that has been produced by rpmbuild for like 6  
years now.
Whether RPMv4 or "LSB format" mostly doesn't matter, but will affect  
the distribution
of whatever you are attempting if "jrpm" is used.


> Can someone refer me to the most respected/used Java bindings for RPM?
>

Note also that there was a NCSU senior project for Java bindings in  
2003 (+/- a year, I forget) that is much
better designed. Alas, the project was sponsored by @redhat.com and  
there is noone
around any more to ask for the licensing to be changed, and the  
sources to be released.

I don't know of any reason (other than that noone ever bothered) why  
the intent of
the NCSU java bindings was not GPL or equivalent.

73 de Jeff


  • application/pkcs7-signature attachment: smime.p7s
Received on Wed Dec 31 18:46:02 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.