Java API

Matthew Johnson dbus at matthew.ath.cx
Fri Dec 16 10:27:26 PST 2005


On Fri, 25 Nov 2005, Matthew Johnson wrote:

> I have written Java bindings for DBus

These are pretty complete now, they just need lots of testing.

> http://www.matthew.ath.cx/projects/java

This has links to the source and compiled .so/jar file, and also the
documentation (in html, pdf, ps, plus javadoc).

It now depends on Java 1.5 (classpath-generics 0.19 doesn't work, but it
claims to be fixed in newer code, but I haven't tested it, other than
that it should work with ecj and jamvm), and DBus 0.60. Quick tips to
make it do something, unpack the tarball and make check, or download the
.so and the jar and

java -cp libdbus-java.jar -Djava.library.path=.:/usr/lib org.freedesktop.dbus.CreateInterface <servicename> <objectpath>

with service name and object something which implements Introspectable

Matt

-- 
Matthew Johnson
http://www.matthew.ath.cx/


More information about the dbus mailing list