Hallo
I use two Java dependant programs, Freeplane and ProjectLibre. Having updated to Ubuntu-Mate 18.04 I found that I could install Freeplane, but that it crashed when launched.
If a program crashes when being launched one of the best things to do is to start the program from the terminal, as you will then usually see the reason for the crash. Having launched Freeplane from the terminal a lot of comment was produced which included the following:
Exception in thread “main” java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
A lot of internet searches later… I found this solution which worked for me:
(source: https://sourceforge.net/p/freeplane/bugs/2605/)
A)
Open a terminal (CTRL+ALT+T)
B)
Type:
cd /etc/java-11-openjdk
Note the space between “cd” and “/”.
Explanation: this moves you to the directory where the “java-11-openjdk” files are located.
C)
Type:
sudo pluma accessibility.properties
enter your sudo password when requested
Explanation: this opens the file “accessibility.properties” in the text editor “Pluma” with root (i.e. administrator) privileges.
D)
move down to the line which reads
“assistive_technologies=org.GNOME.Accessibility.AtkWrapper”
add a pound sign “#” at the front of the line to stop it being executed so that it reads thus:
“#assistive_technologies=org.GNOME.Accessibility.AtkWrapper”
E)
Save the file.
F)
Close Pluma.
After this I relaunched Freeplane successfully. I installed ProjectLibre after this and it launched without any difficulties; I cannot say if it would have launched without the above corrective action.
I hope this helps at least some of you to get your Java dependant programs running.