How to solve "Assistive Technology not found" error in Google App Engine openJdk?
I am developing one web app that uses Apache Batik, it works fine in local with jetty and oracle jdk, but when I deploy it to Google-App-Engine and I call my API I get below error.
Caused by: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886)
at org.apache.batik.bridge.CursorManager.<clinit>(CursorManager.java:102)
at org.apache.batik.bridge.BridgeContext.<init>(BridgeContext.java:1162)
at org.apache.batik.bridge.BridgeContext.<init>(BridgeContext.java:292)
at org.apache.batik.transcoder.SVGAbstractTranscoder.createBridgeContext(SVGAbstractTranscoder.java:336)
at org.apache.batik.transcoder.SVGAbstractTranscoder.createBridgeContext(SVGAbstractTranscoder.java:312)
I searched in google people are saying "This can be done by editing the accessibility.properties file for OpenJDK 8"
Comment out the following line:
#assistive_technologies=org.GNOME.Accessibility.AtkWrapper
But I am using google app engine and not sure How can I do that?
Any help will be appreciated.
I solved this by setting System property dynamically.
Properties props = System.getProperties();
props.setProperty("javax.accessibility.assistive_technologies", "");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With