glfs/gnome/add/java-access-bridge.xml

135 lines
4.9 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY java-access-bridge-download-http "http://ftp.gnome.org/pub/GNOME/sources/java-access-bridge/1.4/java-access-bridge-&java-access-bridge-version;.tar.bz2">
<!ENTITY java-access-bridge-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/java-access-bridge/1.4/java-access-bridge-&java-access-bridge-version;.tar.bz2">
<!ENTITY java-access-bridge-md5sum "80a6cfc17f39f420a6c4e36b8ea5f13d">
<!ENTITY java-access-bridge-size "93 KB">
<!ENTITY java-access-bridge-buildsize "5.4 MB">
<!ENTITY java-access-bridge-time "0.99 SBU">
]>
<sect1 id="java-access-bridge" xreflabel="Java Access Bridge-&java-access-bridge-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="java-access-bridge.html"?>
<title><application>Java Access
Bridge</application>-&java-access-bridge-version;</title>
<sect2>
<title>Introduction to <application>Java Access Bridge</application></title>
<para>The <application>Java Access Bridge</application> package contains Java
components which connect the built-in accessibility support in Java Swing
applications to the <application><acronym>GNOME</acronym></application>
Accessibility framework, specifically the Assistive Technology Service
Provider Interface (<acronym>AT</acronym>-<acronym>SPI</acronym>).</para>
<sect3><title>Package information</title>
<itemizedlist spacing="compact">
<listitem><para>Download (HTTP):
<ulink url="&java-access-bridge-download-http;"/></para></listitem>
<listitem><para>Download (FTP):
<ulink url="&java-access-bridge-download-ftp;"/></para></listitem>
<listitem><para>Download MD5 sum:
&java-access-bridge-md5sum;</para></listitem>
<listitem><para>Download size:
&java-access-bridge-size;</para></listitem>
<listitem><para>Estimated disk space required:
&java-access-bridge-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&java-access-bridge-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application>Java Access Bridge</application> dependencies</title>
<sect4><title>Required</title>
<para><xref linkend="at-spi"/> and <xref linkend="j2sdk"/></para>
</sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>Java Access Bridge</application></title>
<para>Install <application>Java Access Bridge</application> by running the
following commands:</para>
<screen><userinput><command>./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
cat `pkg-config --variable=prefix \
ORBit-2.0`/share/jar/accessibility.properties \
&gt;&gt; $JAVA_HOME/jre/lib/accessibility.properties &amp;&amp;
chmod 444 $JAVA_HOME/jre/lib/accessibility.properties &amp;&amp;
ln -sf `pkg-config --variable=prefix \
ORBit-2.0`/share/jar/gnome-java-bridge.jar \
$JAVA_HOME/jre/lib/ext</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><command>cat `pkg-config ...</command>: This command appends to (or
creates) the Java runtime <filename>accessibility.properties</filename> file
required for <application>Java Access Bridge</application>.</para>
<para><command>ln -sf `pkg-config ...</command>: This command creates a link
from the access bridge <filename>jar</filename> file to the Java runtime
library extensions directory.</para>
</sect2>
<sect2>
<title>Configuring <application>Java Access Bridge</application></title>
<sect3><title>Config files</title>
<para><filename>~/.orbitrc</filename></para>
</sect3>
<sect3><title>Configuration Information</title>
<para>Before running a Java program with the
<application>Java Access Bridge</application>, you should ensure that your
<application><acronym>GNOME</acronym></application> 2 installation enables
<acronym>CORBA</acronym> traffic over <acronym>IP</acronym> from the
<application><acronym>ORB</acronym>it2</application> <acronym>ORB</acronym>. Do
this by adding the following line to <filename>~/.orbitrc</filename> using the
following command:</para>
<screen><userinput><command>cat &gt;&gt; ~/.orbitrc &lt;&lt; "EOF"</command>
ORBIIOPIPv4=1
<command>EOF</command></userinput></screen>
</sect3>
</sect2>
<sect2>
<title>Contents</title>
<para>The <application>Java Access Bridge</application> package contains
<filename>gnome-java-bridge.jar</filename> and
<filename>JNav.jar</filename>.</para>
</sect2>
<sect2><title>Description</title>
<sect3><title>gnome-java-bridge.jar</title>
<para><filename>gnome-java-bridge.jar</filename> is a Java runtime environment
extension that connects the built-in accessibility support in Java Swing
applications to the <application><acronym>GNOME</acronym></application>
Accessibility framework.</para>
</sect3>
</sect2>
</sect1>