1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!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">
|
---|
8 | <!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">
|
---|
9 | <!ENTITY java-access-bridge-md5sum "80a6cfc17f39f420a6c4e36b8ea5f13d">
|
---|
10 | <!ENTITY java-access-bridge-size "93 KB">
|
---|
11 | <!ENTITY java-access-bridge-buildsize "5.4 MB">
|
---|
12 | <!ENTITY java-access-bridge-time "0.99 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="java-access-bridge" xreflabel="Java Access Bridge-&java-access-bridge-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="java-access-bridge.html"?>
|
---|
21 | <title><application>Java Access
|
---|
22 | Bridge</application>-&java-access-bridge-version;</title>
|
---|
23 |
|
---|
24 | <sect2>
|
---|
25 | <title>Introduction to <application>Java Access Bridge</application></title>
|
---|
26 |
|
---|
27 | <para>The <application>Java Access Bridge</application> package contains Java
|
---|
28 | components which connect the built-in accessibility support in Java Swing
|
---|
29 | applications to the <application><acronym>GNOME</acronym></application>
|
---|
30 | Accessibility framework, specifically the Assistive Technology Service
|
---|
31 | Provider Interface (<acronym>AT</acronym>-<acronym>SPI</acronym>).</para>
|
---|
32 |
|
---|
33 | <sect3><title>Package information</title>
|
---|
34 | <itemizedlist spacing="compact">
|
---|
35 | <listitem><para>Download (HTTP):
|
---|
36 | <ulink url="&java-access-bridge-download-http;"/></para></listitem>
|
---|
37 | <listitem><para>Download (FTP):
|
---|
38 | <ulink url="&java-access-bridge-download-ftp;"/></para></listitem>
|
---|
39 | <listitem><para>Download MD5 sum:
|
---|
40 | &java-access-bridge-md5sum;</para></listitem>
|
---|
41 | <listitem><para>Download size:
|
---|
42 | &java-access-bridge-size;</para></listitem>
|
---|
43 | <listitem><para>Estimated disk space required:
|
---|
44 | &java-access-bridge-buildsize;</para></listitem>
|
---|
45 | <listitem><para>Estimated build time:
|
---|
46 | &java-access-bridge-time;</para></listitem></itemizedlist>
|
---|
47 | </sect3>
|
---|
48 |
|
---|
49 | <sect3><title><application>Java Access Bridge</application> dependencies</title>
|
---|
50 | <sect4><title>Required</title>
|
---|
51 | <para><xref linkend="at-spi"/> and <xref linkend="j2sdk"/></para>
|
---|
52 | </sect4>
|
---|
53 | </sect3>
|
---|
54 |
|
---|
55 | </sect2>
|
---|
56 |
|
---|
57 | <sect2>
|
---|
58 | <title>Installation of <application>Java Access Bridge</application></title>
|
---|
59 |
|
---|
60 | <para>Install <application>Java Access Bridge</application> by running the
|
---|
61 | following commands:</para>
|
---|
62 |
|
---|
63 | <screen><userinput><command>./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` &&
|
---|
64 | make &&
|
---|
65 | make install &&
|
---|
66 | cat `pkg-config --variable=prefix ORBit-2.0`/share/jar/accessibility.properties \
|
---|
67 | >> $JAVA_HOME/jre/lib/accessibility.properties &&
|
---|
68 | chmod 444 $JAVA_HOME/jre/lib/accessibility.properties &&
|
---|
69 | ln -sf `pkg-config --variable=prefix ORBit-2.0`/share/jar/gnome-java-bridge.jar \
|
---|
70 | $JAVA_HOME/jre/lib/ext</command></userinput></screen>
|
---|
71 |
|
---|
72 | </sect2>
|
---|
73 |
|
---|
74 | <sect2>
|
---|
75 | <title>Command explanations</title>
|
---|
76 |
|
---|
77 | <para><command>cat `pkg-config ...</command>: This command appends to (or
|
---|
78 | creates) the Java runtime <filename>accessibility.properties</filename> file
|
---|
79 | required for <application>Java Access Bridge</application>.</para>
|
---|
80 |
|
---|
81 | <para><command>ln -sf `pkg-config ...</command>: This command creates a link
|
---|
82 | from the access bridge <filename>jar</filename> file to the Java runtime
|
---|
83 | library extensions directory.</para>
|
---|
84 |
|
---|
85 | </sect2>
|
---|
86 |
|
---|
87 | <sect2>
|
---|
88 | <title>Configuring <application>Java Access Bridge</application></title>
|
---|
89 |
|
---|
90 | <sect3><title>Config files</title>
|
---|
91 | <para><filename>~/.orbitrc</filename></para>
|
---|
92 | </sect3>
|
---|
93 |
|
---|
94 | <sect3><title>Configuration Information</title>
|
---|
95 | <para>Before running a Java program with the
|
---|
96 | <application>Java Access Bridge</application>, you should ensure that your
|
---|
97 | <application><acronym>GNOME</acronym></application> 2 installation enables
|
---|
98 | <acronym>CORBA</acronym> traffic over <acronym>IP</acronym> from the
|
---|
99 | <application><acronym>ORB</acronym>it2</application> <acronym>ORB</acronym>. Do
|
---|
100 | this by adding the following line to <filename>~/.orbitrc</filename> using the
|
---|
101 | following command:</para>
|
---|
102 |
|
---|
103 | <screen><userinput><command>cat >> ~/.orbitrc << "EOF"</command>
|
---|
104 | ORBIIOPIPv4=1
|
---|
105 |
|
---|
106 | <command>EOF</command></userinput></screen>
|
---|
107 | </sect3>
|
---|
108 |
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2>
|
---|
112 | <title>Contents</title>
|
---|
113 |
|
---|
114 | <para>The <application>Java Access Bridge</application> package contains
|
---|
115 | <filename>gnome-java-bridge.jar</filename> and
|
---|
116 | <filename>JNav.jar</filename>.</para>
|
---|
117 |
|
---|
118 | </sect2>
|
---|
119 |
|
---|
120 | <sect2><title>Description</title>
|
---|
121 |
|
---|
122 | <sect3><title>gnome-java-bridge.jar</title>
|
---|
123 | <para><filename>gnome-java-bridge.jar</filename> is a Java runtime environment
|
---|
124 | extension that connects the built-in accessibility support in Java Swing
|
---|
125 | applications to the <application><acronym>GNOME</acronym></application>
|
---|
126 | Accessibility framework.</para>
|
---|
127 | </sect3>
|
---|
128 |
|
---|
129 | </sect2>
|
---|
130 |
|
---|
131 | </sect1>
|
---|
132 |
|
---|