Ubuntu: Unable to install LanguageTool 2.5 extension for LibreOffice 4.2 on Ubuntu 14.04



Question:

I am not able to install LanguageTool extension for LibreOffice. Getting exception when I try to install it.

p.s. Somebody says that the solution is installing openoffice.org-java-common package but Ubuntu 14.04 does not have this package in its repository.

System details:

OS: Ubuntu 14.04 LTS    LibreOffice: 4.2 (4.2.3.3)    LanguageTool: 2.5    Java: Oracle JDK 1.8.0_05  

Exception message:

Exception message


Solution:1

  1. First of all, the most important:

    sudo apt-get installlibreoffice-java-commonjava-common

  2. Go to LibreOffice Options menu, choose Advanced and be sure Use Java runtime environment is checked and a Java version is selected.

  3. Now install your extension either by double-clicking on it in File Manager or by importing it in LibreOffice Extension Manager dialog.


Solution:2

I had this error with 12.04, turned out java just wasn't enabled in LibreOffice. Might sound silly, but worth a check.

Go to Tools-Options-Advanced. I had the checkbox selected for "Use a java runtime environment", but right under that is "Java runtime environments(JRE) already installed:", and inside that list I hadn't selected anything.

Checked the Oracle 1.7, restarted LibreOffice, installed LanguageTool, all was well.


Solution:3

You need to have OpenJDK Java runtime installed. You can do so from the Ubuntu Software Center. Once done, download the LanguageTool, and choose open with Libreoffice. See image below

enter image description here

If you open writer, you will see it

enter image description here

enter image description here

As per your comments, I have installed Oracle Java, and tried installing LanguageTool, and I got the same error. So I would assume that it will not work with Oracle Java.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »