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:
Open a terminal (CTRL+ALT+T)
Note the space between “cd” and “/”.
Explanation: this moves you to the directory where the “java-11-openjdk” files are located.
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.
move down to the line which reads
add a pound sign “#” at the front of the line to stop it being executed so that it reads thus:
Save the file.
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.