<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=Installing_the_Java_D-Bus_bindings</id>
	<title>Installing the Java D-Bus bindings - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=Installing_the_Java_D-Bus_bindings"/>
	<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Installing_the_Java_D-Bus_bindings&amp;action=history"/>
	<updated>2026-05-06T15:17:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=Installing_the_Java_D-Bus_bindings&amp;diff=3114&amp;oldid=prev</id>
		<title>Wynand.winterbach: Added link to compilation guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Installing_the_Java_D-Bus_bindings&amp;diff=3114&amp;oldid=prev"/>
		<updated>2007-12-19T12:58:00Z</updated>

		<summary type="html">&lt;p&gt;Added link to compilation guide&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 12:58, 19 December 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;This is to help those who want to compile a [[D-Bus examples#Java|Java program]] using Apertium&#039;s [[D-Bus_service_for_Apertium|D-Bus services]].&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;This is to help those who want to compile a [[D-Bus examples#Java|Java program]] using Apertium&#039;s [[D-Bus_service_for_Apertium|D-Bus services]].&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;==Installing the Java D-Bus bindings==&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;First you will need to [http://dbus.freedesktop.org/releases/dbus-java/dbus-java-2.3.2.tar.gz download the D-Bus bindings for Java]; the latest version can be found on the [http://www.freedesktop.org/wiki/Software/DBusBindings D-Bus project site]. The bindings use [http://www.matthew.ath.cx/projects/java/libmatthew-java-0.5.tar.gz libmatthew] by the same author; the latest version can be [http://www.matthew.ath.cx/projects/java/ downloaded from his site].&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;First you will need to [http://dbus.freedesktop.org/releases/dbus-java/dbus-java-2.3.2.tar.gz download the D-Bus bindings for Java]; the latest version can be found on the [http://www.freedesktop.org/wiki/Software/DBusBindings D-Bus project site]. The bindings use [http://www.matthew.ath.cx/projects/java/libmatthew-java-0.5.tar.gz libmatthew] by the same author; the latest version can be [http://www.matthew.ath.cx/projects/java/ downloaded from his site].&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;You should get output that looks something like this:&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;You should get output that looks something like this:&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;[[en-af, af-en]]&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;[[en-af, af-en]]&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;&#039;&#039;Now that the installation works, you might want to look at our guide to [[Compiling a Java D-Bus program|compiling Java D-Bus programs]], using Apertium as an example.&#039;&#039;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wynand.winterbach</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=Installing_the_Java_D-Bus_bindings&amp;diff=3108&amp;oldid=prev</id>
		<title>Wynand.winterbach: Moved this out from D-Bus_examples</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Installing_the_Java_D-Bus_bindings&amp;diff=3108&amp;oldid=prev"/>
		<updated>2007-12-19T12:43:22Z</updated>

		<summary type="html">&lt;p&gt;Moved this out from D-Bus_examples&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is to help those who want to compile a [[D-Bus examples#Java|Java program]] using Apertium&amp;#039;s [[D-Bus_service_for_Apertium|D-Bus services]].&lt;br /&gt;
&lt;br /&gt;
==Installing the Java D-Bus bindings==&lt;br /&gt;
&lt;br /&gt;
First you will need to [http://dbus.freedesktop.org/releases/dbus-java/dbus-java-2.3.2.tar.gz download the D-Bus bindings for Java]; the latest version can be found on the [http://www.freedesktop.org/wiki/Software/DBusBindings D-Bus project site]. The bindings use [http://www.matthew.ath.cx/projects/java/libmatthew-java-0.5.tar.gz libmatthew] by the same author; the latest version can be [http://www.matthew.ath.cx/projects/java/ downloaded from his site].&lt;br /&gt;
&lt;br /&gt;
# Compile and install libmatthew.&lt;br /&gt;
# Compile and install the Java D-Bus bindings (ignore errors about invalid JAR paths - if it compiles and installs, everything will work.)&lt;br /&gt;
&lt;br /&gt;
The Java binding build process should install the following binaries on your machine:&lt;br /&gt;
# CreateInterface&lt;br /&gt;
# DBusCall&lt;br /&gt;
# DBusDaemon&lt;br /&gt;
# DBusViewer&lt;br /&gt;
# ListDBus&lt;br /&gt;
&lt;br /&gt;
You can make sure that everything works by executing:&lt;br /&gt;
&amp;lt;pre&amp;gt;DBusCall org.apertium.info / org.apertium.Info modes&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you get a message such as&lt;br /&gt;
&amp;lt;pre&amp;gt;ParseException: Bus address is blank&amp;lt;/pre&amp;gt;&lt;br /&gt;
it means that the environment variable $DBUS_SESSION_BUS_ADDRESS isn&amp;#039;t set. You can get around it by using &amp;lt;code&amp;gt;dbus-launch --exit-with-session&amp;lt;/code&amp;gt; to execute the program:&lt;br /&gt;
&amp;lt;pre&amp;gt;dbus-launch --exit-with-session DBusCall org.apertium.info / org.apertium.Info modes.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get output that looks something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;[[en-af, af-en]]&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wynand.winterbach</name></author>
		
	</entry>
</feed>