1

Before you mark this as the same thing as the others, You need to know I have done this before hundreds of times with no problem, I just reinstalled Ubuntu 18.04 2 days ago, and I was trying something with Minecraft and tried to open the optifine download, which is a jar file, and it wont do anything I tried running it in terminal and this is what I got

Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper` 

I had installed Java the same as I always had no problems, but this time is different. All help is appreciated.

NIMISHAN
  • 1,625
  • 4
  • 20
  • 28

2 Answers2

0

Disabling the assistive technology may do the trick :

sh sudo sed -i "s/^assistive_technologies=/#&/" \ /etc/java-11-openjdk/accessibility.properties

Remark : use the right property file for your config, here it is for openjdk v11.

0

Try adding the atk wrapper to the classpath

export CLASSPATH=/usr/share/java/java-atk-wrapper.jar