Re: Java ATK Wrapper

Zahari Yurukov <[email protected]> Sat, 30 Jul 2016 04:11:19 +0300
Newsgroups gmane.comp.gnome.accessibility.general
Message-ID <[email protected]>
Hi,
You're right Peter, it was the installation what was the problem - it works here now.
For some  weired reason it copies some files into /root directory (the root's home directory) - I moved that to the root of the file system.
Also, when I was extracting the rpm package for you (I'll attach a list of its contents to this message), I spotted a README file with the following content:
This fedora package installs java-atk-wrapper in a JRE-independent way. It is
up to each JRE to make use of it correctly. In general, you want to symlink the
shared object and the jar into somehwere where the JRE can find it and
configure the accessiblity configuration of the JRE to load this.

For OpenJDK, the process looks like this:
ln -s %{_libdir}/java-atk-wrapper/libatk-wrapper.so.0 \
    /usr/lib/jvm/jre/lib/%{arch}/libatk-wrapper.so
ln -s %{_libdir}/java-atk-wrapper/java-atk-wrapper.jar \
    /usr/lib/jvm/jre/lib/ext/
echo "assistive_technologies=org.GNOME.Accessibility.AtkWrapper" \
    >>  /usr/lib/java/jre/lib/accessibility.properties

Thanks and good luck to you, too.


-- 
Best wishes,
Zahari

  Zahari Yurukov wrote:
Tue, Jul 26, 2016 at 04:41:07PM +0300

> Hi Peter,
> I forgot to say that I went installing Java ATK Wrapper from source, cause the package in the repository didn't seem to work, too.
> I rarely use Java apps, and honestly I haven't had good results ever, but I started learning Java and I wondered why a extremely simple app with a JFrame, a text field and a button refuses to work with Orca, even after I setAccessibleDescription, setAccessibleName and so on.
> So that's how I ended on that page.
> I'll try copying the files manually to my $HOME directory, as you
> describe, and I'll report if there's any difference.
> 
> 
>  --
> Best wishes,
> Zahari
> 
>   Peter Vágner wrote:
> Tue, Jul 26, 2016 at 08:59:48AM +0200
> 
> >    Hello,
> > 
> >    About a week ago I have also tried java atk wrapper with jdk8 on arch
> >    linux.
> > 
> >    It's still a work in progress PKGBUILD script I do have here because it
> >    installs some files into ~/usr/lib/jvm/java-8-openjdk/jre/lib/ i.e. into
> >    my home directory instead of system wide
> >    usr/lib/jvm/java-8-openjdk/jre/lib/ .
> > 
> >    If I copy the files manually to the appropriate place I can't get
> >    SwingSet3 to work with orca it used to work about a year ago, so I am
> >    afraid there is something going on with either java atk wrapper on arch
> >    linux or java atk wrapper vs openjdk8.
> > 
> >    Here is my PKGBUILD script if anyone wishes to take a look at it and
> >    suggest improvements:
> >    [1]http://files.pvagner.tk/java-atk-wrapper-git.tar.gz
> > 
> >    I might also look how fedora is packaging java atk wrapper if I won't get
> >    a hint or I won't be able to figure this on my own.
> > 
> >    Greetings
> > 
> >    Peter
> > 
> >    On 25.07.2016 at 05:02 Zahari Yurukov wrote:
> > 
> >  Hi,
> >  I'm using Fedora 23 with Orca, at-spi2-core, at-spi2-atk and pyat-spi from source. OpenJDK version is 1.8.0.
> >  I folloed this wiki article:
> >  [2]https://wiki.gnome.org/Accessibility/JavaAtkWrapper
> >  I installed both Java ATK wrapper and SwingSet3 from source.
> >  When I run SwingSet3 as described in the article, it's inaccessible with Orca and it's not visible in the Accerciser's tree with applications.
> >  Is it working for you? If it is, I'll install the debug symbols and will try to get more information.
> >  Other debugging tips, apart from what's available in the article, are also welcomed.
> > 
> > 
> >  _______________________________________________
> >  gnome-accessibility-list mailing list
> >  [3][email protected]
> >  [4]https://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
> > 
> > References
> > 
> >    Visible links
> >    1. http://files.pvagner.tk/java-atk-wrapper-git.tar.gz
> >    2. https://wiki.gnome.org/Accessibility/JavaAtkWrapper
> >    3. mailto:[email protected]
> >    4. https://mail.gnome.org/mailman/listinfo/gnome-accessibility-list

_______________________________________________
gnome-accessibility-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
java-atk-wrapper-0.33.2-1.fc23.i686.rpm.contents (text/plain, 431 B)
./usr/lib/java-atk-wrapper
./usr/lib/java-atk-wrapper/java-atk-wrapper.jar
./usr/lib/java-atk-wrapper/libatk-wrapper.so.0
./usr/lib/java-atk-wrapper/libatk-wrapper.so.5.0.0
./usr/share/doc/java-atk-wrapper
./usr/share/doc/java-atk-wrapper/AUTHORS
./usr/share/doc/java-atk-wrapper/COPYING.LESSER
./usr/share/doc/java-atk-wrapper/NEWS
./usr/share/doc/java-atk-wrapper/README
./usr/share/doc/java-atk-wrapper/README.fedora
353 blocks
signature.asc (application/pgp-signature, 896 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJTBAABCAA9BQJXm/6uNhSAAAAAABUAGHBrYS1hZGRyZXNzQGdudXBnLm9yZ3ph
aGFyaS55dXJ1a292QGdtYWlsLmNvbQAKCRC3FOO4QLQJ6o/tD/45MTgcDCF0p7d9
/WTaRzyYnZtFUD1bBWLkdeZpxKsNj8h2NwYpLaOcUOcxJOa0Yq40wHECAGOQLt17
Ze9M9P5FrcoF5/tYEy+Rovgb38RTeD0sZ3MwrP++Z7gkaPHywTv2YRtB08TS8OiS
lnpCt4oEQtmxyuoUSGCfNwBBj0LutK/KHGN+5TgzWsCmZzYK7pEGeHjk9dOB+p3B
bhOdHOo168DD5Og/CJf3s61/jqNITIfjrSNkDbveZFeOBf0IM6fPLhfzkFcWhp5G
WHqbtk6GJvH8tVZj6V3IrVJ2TK16xlWbGmHdb4dopvohGyHNiPChVp+zcRzEGuKS
XZ7lvWNTsn/5RknVNYvey3iQR2Xx+HtJ6fJZum4DZ12B3bVKx3ctueAF2ak7JwRy
bILV/yksNJLn4PPowY/bRsFXfLL7YS0nthTdDvvMfdmd7o2jUw1/I45ueuYoKeTS
2uAIM7SK9zus3n9pLmQ6m4YJyUVxuP0syR29a8T3jKv6ao9FGX2wdL58pZdjIFb4
sDyGZjZdMFpa4xdZLOiQ9r5+EUhbXHlnryy5R7/pgYV5Gk85lDwX/B2Co1CZuxfF
6UZ92ns3YIsgScynmWxfsRICckvNqevjDoVMjTm5Ds0Y/dy31FEwojYq55L6y7d/
QMQ7g6UzbyavFeWxChQVyaO2Iu51SQ==
=n5AY
-----END PGP SIGNATURE-----