Re: Java ATK Wrapper



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]gnome-accessibility-list gnome org
 [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:gnome-accessibility-list gnome org
   4. https://mail.gnome.org/mailman/listinfo/gnome-accessibility-list


Attachment: java-atk-wrapper-0.33.2-1.fc23.i686.rpm.contents
Description: Text document

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]