https://github.com/cathive/dbus-java
Fork of git://anongit.freedesktop.org/dbus/dbus-java
https://github.com/cathive/dbus-java
Last synced: 10 months ago
JSON representation
Fork of git://anongit.freedesktop.org/dbus/dbus-java
- Host: GitHub
- URL: https://github.com/cathive/dbus-java
- Owner: cathive
- License: other
- Created: 2013-04-05T08:32:07.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-05T09:51:39.000Z (about 13 years ago)
- Last Synced: 2025-04-15T00:08:32.275Z (about 1 year ago)
- Language: Java
- Size: 828 KB
- Stars: 5
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README
- Changelog: CHANGES
- License: COPYING
Awesome Lists containing this project
README
D-Bus Java README
-----------------
Compilation and installation is described in the INSTALL file.
This will install two jar files, three binaries and some documentation in the
form of an HTML/PDF guide to writing D-Bus Java programs, JavaDoc API for the
library and man pages for the supplied programs. Read the documentation, it's
there for a reason.
The installed programs are documented in their respective man pages.
CreateInterface is a tool for creating interface stubs for D-Bus programs. It
will connect to services running on the bus and introspect on them to find
their API. This will then be written as Java interface definitions suitable for
importing into your program. A file containing the introspection data can be
used instead.
ListDBus lists the names currently connected to a bus.
DBusViewer is a graphical tool which combines the two tools. It will list the
names on a bus and allow you to introspect on them and save the result as Java
interface files. This currently only introspects on the root object, however.
To run a Java program using D-Bus you need to have the libdbus-java,
libunix-java and libdebug jar files in your classpath and the libunix-java
shared library in your library path. With the default install paths you may
have to do something like:
java -cp /usr/local/share/java/dbus.jar:/usr/local/share/java/unix.jar:/usr/local/share/java/debug-disable.jar -Djava.library.path=/usr/local/lib/jni