Cannot install LanguageTool
I tried installing Language tool on Ubuntu 19.04 with Java 11.03 but got the following error message:
I tried deleting the ~/.config/libreoffice
folder, open settings, advanced and enable java, restart and install the extension again. This time I got a different error message:
How do I go round this problem?
Did you follow "Install Instructions" at
https://extensions.libreoffice.org/extensions/languagetool/4-5.1
or are you using some Ubuntu specific extension installation procedure (I've just tested on Ubuntu 19.04 and LO 6.2.4 following tghe official installation Instruction on the link given. It work as designed)? The screenshot above makes me feel that you used some GNOME / Ubuntu specific installation procedure.I just downloaded the .oxt file, opened LO extension manager, add.
Hmm .. exactly what I did on my Ubuntu test system.
Have you tried to reset your user profile? and - just to be absolutely sure (and please don't beat me) - is there enough disk space in your $HOME directory?
There's space in $HOME. I tried with a clean ~/.config/libroffice file and the problem remains. The tmp files are being copied to another folder instead of the one reported in the error message.
Added more information about a clean start.
Do you have Oracle's JRE/JDK or OpenJDK? I've the latter.
Most likely you are missing
libreoffice-java-common
package. I could reproduce your error, after having deinstalled this package (which also deinstalled others). So please dosudo apt install libreoffice-java-common
(I've the Java release delivered by Ubuntu, which is openjdk-11-jre)Installing
libreoffice-java-common
seems to have solved the problem, but I still had to delete my~/.config/libreoffice
folder.