Ask Your Question
0

Cannot install LanguageTool

asked 2019-06-25 09:26:37 +0200

Chris Vella gravatar image

updated 2019-06-25 12:42:41 +0200

I tried installing Language tool on Ubuntu 19.04 with Java 11.03 but got the following error message:

image description

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:

image description

How do I go round this problem?

edit retag flag offensive close merge delete

Comments

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.

Opaque gravatar imageOpaque ( 2019-06-25 11:17:22 +0200 )edit

I just downloaded the .oxt file, opened LO extension manager, add.

Chris Vella gravatar imageChris Vella ( 2019-06-25 11:24:39 +0200 )edit

Hmm .. exactly what I did on my Ubuntu test system.

Opaque gravatar imageOpaque ( 2019-06-25 11:28:48 +0200 )edit

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?

Opaque gravatar imageOpaque ( 2019-06-25 11:40:45 +0200 )edit

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.

Chris Vella gravatar imageChris Vella ( 2019-06-25 12:31:00 +0200 )edit

Added more information about a clean start.

Chris Vella gravatar imageChris Vella ( 2019-06-25 12:43:07 +0200 )edit

Do you have Oracle's JRE/JDK or OpenJDK? I've the latter.

Chris Vella gravatar imageChris Vella ( 2019-06-25 12:54:26 +0200 )edit

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 do sudo apt install libreoffice-java-common (I've the Java release delivered by Ubuntu, which is openjdk-11-jre)

Opaque gravatar imageOpaque ( 2019-06-25 13:00:43 +0200 )edit

Installing libreoffice-java-common seems to have solved the problem, but I still had to delete my ~/.config/libreoffice folder.

Chris Vella gravatar imageChris Vella ( 2019-06-25 14:54:14 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2019-06-25 15:00:47 +0200

Opaque gravatar image

updated 2019-06-25 15:02:50 +0200

For the records:

Most likely you are missing libreoffice-java-common package. If it is not installed please perform sudo apt install libreoffice-java-common. Due to unsuccessful previous installation efforts, you may need to reset your user profile.

If the answer is correct or helped you to fix your problem, please click the check mark (✔) next to the answer.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-06-25 09:26:37 +0200

Seen: 496 times

Last updated: Jun 25 '19