Java error

Ubuntu 18

Java error: Assistive Technology not found

Java error while running the → forester-tool

java -cp /path/to/tool/forester_1050.jar org.forester.archaeopteryx.Archaeopteryx

java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper

at java.awt.Toolkit.loadAssistiveTechnologies(

at java.awt.Toolkit.getDefaultToolkit(

at java.awt.Window.getToolkit(

at java.awt.Window.init(

at java.awt.Window.<init>(

at java.awt.Frame.<init>(

at java.awt.Frame.<init>(

at javax.swing.JFrame.<init>(

at org.forester.archaeopteryx.MainFrame.<init>(


no graphics library available in "headless" java version

"If you want to run any Java application with a GUI, you need the non-headless openjdk package (openjdk-11-jre)"


Remove "headless" java version and install non-headless java ( openjdk-11-jre-headless )

# check current version

sudo dpkg -l | grep openjdk

openjdk-11-jre-headless:amd64 ubuntu~18.04 amd64 OpenJDK Java runtime, Hotspot JIT (headless)

# remove "headless" java version

sudo apt-get remove openjdk-11-jre-headless

# install non-headless version of java

sudo apt-get install openjdk-11-jre

# check installed version

java -version

openjdk version "11.0.4" 2019-07-16

OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)

OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode)