Java DBus Namespace problem.

Matthew Johnson dbus at
Tue Mar 2 01:45:17 PST 2010

On Tue Mar 02 09:40, Arigead wrote:
> > Hmm, try passing the class explicitly to dbusConnection.getRemoteObject. When
> > you use the version without the class it introspects the given path to work out
> > which interfaces it supports. Sounds like that path does not claim to support
> > that interface.
> nav n = (nav) dbusConnection.getRemoteObject(NavitBusName, NavitPath);
> I'm sure there's a way around this :-(

Try using:

nav n = (nav) dbusConnection.getRemoteObject(NavitBusName, NavitPath, nav.class);


D-Bus Java
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <>

More information about the dbus mailing list