in reply to bgt lover

I think android studio packages its own jvm thus manual patching can't be avoided I am afraid.
Other than this I have no java app to test.
However when looking at java-atk-wrapper packages for arch linux I see there are packages like java-atk-wrapper-common and jdk specific package such as java-atk-wrapper-openjdk11.
There is a file /etc/java-openjdk/accessibility.properties installed by the java-atk-wrapper-common package.
In that file there is...
assistive_technologies=org.GNOME.Accessibility.AtkWrapper
Would it be enough to link or copy this file into jdk specific configuration such as /etc/java11-openjdk/ where other config files are stored?
in reply to bgt lover

@bgtlover I advise you read the Arch Wiki page on Java as it explains where the different jdk's store their files. But that jar, for your default java runtime, is at /usr/lib/jvm/default/lib/java-atk-wrapper.jar. You can use the archlinux-java command to view and switch between JREs, and the one you have as your default is always symlinked to /usr/lib/jvm/default.