Ubuntu bug causes problems for Xowa tool

×

Status message

You are not a member of this team. If you want to be part of this team, click on 'Subscribe to this team'.
Team(s): 

Dear Labdoo team,

preparing the next update for our images for cloning I ran into a problem due to a known Ubuntu bug Recent Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1788250. As you may-be notice the same problem here is a workaround. Thanks to the Xowa team, who supported it.

Labdoo computer come actually (08.2018) with Java 8 and Java 11. So in 2 file a line has to be commented out. Either by editor, e.g.

sudo nano /etc/java-8-openjdk/accessibility.properties (Enter) and
sudo nano /etc/java-11-openjdk/accessibility.properties (Enter)

Step to the last line and add a # in the front of this line (will inactivate this line as a comment). Press CTL and O same time (Save), press CTL and X same time (close the terminal window).

Or alternatively execute this script in a terminal (also enclosed as txt-file, download it, rename it to java.sh). It might has to be made executable: Copy it to the desktop of a laptop, right mouse click, Properties, Permission, add a hook to "Allow executing as a program" (if not already marked).

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

After following this procedure Xowa should work well, even with an updated system. Let's hope the Ubuntu community will fix this bug soon.

Sorry for this inconvenience, but that is how TI works ;) Thanks,

Ralf
Labdoo.org (Germany)