Java Access Bridge-1.18.0

Introduction to Java Access Bridge

The Java Access Bridge package contains Java components which connect the built-in accessibility support in Java Swing applications to the GNOME Accessibility framework, specifically the Assistive Technology Service Provider Interface (AT-SPI).

Package Information

Java Access Bridge Dependencies

Required

AT SPI-1.18.1 and JDK-6 Update 5

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/java-access-bridge

Installation of Java Access Bridge

Install Java Access Bridge by running the following commands:

./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) &&
make

This package does not come with a test suite.

Now, as the root user:

make install &&

cat $(pkg-config --variable=prefix \
    ORBit-2.0)/share/jar/accessibility.properties \
    >> $JAVA_HOME/jre/lib/accessibility.properties &&
chmod -v 644 $JAVA_HOME/jre/lib/accessibility.properties &&

ln -v -sf $(pkg-config --variable=prefix \
    ORBit-2.0)/share/jar/gnome-java-bridge.jar \
    $JAVA_HOME/jre/lib/ext

Command Explanations

--prefix=$(pkg-config --variable=prefix ORBit-2.0): Setting the prefix using this parameter instead of with $GNOME_PREFIX will ensure that the prefix is consistent with the installation environment and the package will be installed in the correct location.

cat $(pkg-config ...: This command appends to (or creates) the Java runtime accessibility.properties file required for Java Access Bridge.

ln -v -sf $(pkg-config ...: This command creates a link from the Access Bridge jar file to the Java runtime library extensions directory.

Configuring Java Access Bridge

Config Files

~/.orbitrc

Configuration Information

Before running a Java program with the Java Access Bridge, you should ensure that your GNOME 2 installation enables CORBA traffic over IP from the ORBit2 ORB. Do this by adding the following line to ~/.orbitrc using the following command:

cat >> ~/.orbitrc << "EOF"
ORBIIOPIPv4=1

EOF

Contents

Installed Programs: None
Installed Libraries: gnome-java-bridge.jar and JNav.jar
Installed Directories: $GNOME_PREFIX/share/jar

Short Descriptions

gnome-java-bridge.jar

is a Java runtime environment extension that connects the built-in accessibility support in Java Swing applications to the GNOME Accessibility framework.

Last updated on 2007-08-08 11:49:50 -0500