Package Details: libreoffice-extension-languagetool 6.4-1

Git Clone URL: https://aur.archlinux.org/libreoffice-extension-languagetool.git (read-only, click to copy)
Package Base: libreoffice-extension-languagetool
Description: An Open Source style and grammar checker (more than 30 languages)
Upstream URL: https://languagetool.org
Keywords: grammar languagetool
Licenses: LGPL
Groups: libreoffice-extensions
Submitter: 3ED_0
Maintainer: darkelectron (HurricanePootis)
Last Packager: darkelectron
Votes: 307
Popularity: 0.164962
First Submitted: 2011-08-05 14:41 (UTC)
Last Updated: 2024-05-23 21:47 (UTC)

Dependencies (2)

Sources (1)

Pinned Comments

lisu_ml commented on 2016-10-06 20:36 (UTC) (edited on 2016-10-06 20:38 (UTC) by lisu_ml)

I found that the problem is java jre version. The extension is compiled with version 1.8, but my system by default uses version 1.7 despite I have both version of jre installed. After running: 'sudo archlinux-java set java-8-openjdk/jre' everything works again. The funny thing is that after setting default jre back to 1.7 don't break the extension.

lisu_ml commented on 2016-10-06 20:02 (UTC)

I have reinstalled the system and the error is back: The status of this extension is unknown. I tested it on LO 5.2.1 and 5.1.5.2. This time re-installation of the languagetool doesn't fix the issue.

ronjouch commented on 2015-12-30 14:01 (UTC) (edited on 2015-12-30 14:04 (UTC) by ronjouch)

After upgrading to 3.2-1, LibreOffice's extension manager shows the extension disabled, with error message "Error: The status of this extension is unknown". Applying 3ED_0's suggestion below worked around the issue: 1. remove this package 2. start lowriter then close 3. install this package 4. start libreoffice

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

dodys commented on 2017-12-06 01:16 (UTC) (edited on 2017-12-06 01:16 (UTC) by dodys)

I've been getting the following error message:

java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at net.loomchild.segment.srx.io.Srx2SaxParser.<init>(Srx2SaxParser.java:173) at org.languagetool.tokenizers.SrxTools.createSrxDocument(SrxTools.java:51) at org.languagetool.tokenizers.SRXSentenceTokenizer.<init>(SRXSentenceTokenizer.java:53) at org.languagetool.tokenizers.SimpleSentenceTokenizer.<init>(SimpleSentenceTokenizer.java:37) at org.languagetool.Language.<clinit>(Language.java:60) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:292) at org.languagetool.Languages.createLanguageObjects(Languages.java:110) at org.languagetool.Languages.getAllLanguages(Languages.java:96) at org.languagetool.Languages.<clinit>(Languages.java:38) at org.languagetool.openoffice.Main.getLocales(Main.java:552)</clinit></clinit></init></init></init>

Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:563) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496) ... 11 more

java.lang.NoClassDefFoundError: Could not initialize class org.languagetool.Languages at org.languagetool.openoffice.Main.getLocales(Main.java:552)

This is related to java 9 and languagetool and on their Github page they mention:

When using Java 9, start LanguageTool using java --add-modules java.xml.bind -jar languagetool.jar. Without that parameter, you'd get an java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException error.

https://github.com/languagetool-org/languagetool/tree/master/languagetool-standalone

Is there a way to have this fix, somehow, when libreoffice calls languagetool?

lisu_ml commented on 2016-10-06 20:36 (UTC) (edited on 2016-10-06 20:38 (UTC) by lisu_ml)

I found that the problem is java jre version. The extension is compiled with version 1.8, but my system by default uses version 1.7 despite I have both version of jre installed. After running: 'sudo archlinux-java set java-8-openjdk/jre' everything works again. The funny thing is that after setting default jre back to 1.7 don't break the extension.

3ED_0 commented on 2016-10-06 20:28 (UTC) (edited on 2016-10-06 20:29 (UTC) by 3ED_0)

lisu_ml: Dunno, works for me. Try instructions from pinned comment.

lisu_ml commented on 2016-10-06 20:02 (UTC)

I have reinstalled the system and the error is back: The status of this extension is unknown. I tested it on LO 5.2.1 and 5.1.5.2. This time re-installation of the languagetool doesn't fix the issue.

lisu_ml commented on 2016-10-01 16:54 (UTC)

It has been fixed after removing and re-installing the package.

lisu_ml commented on 2016-10-01 16:49 (UTC)

Since update to 3.5 it doesn't work for me. Extension Manager in LO says: The status of this extension is unknown.My LO version is 5.2.1

3ED_0 commented on 2016-09-25 14:00 (UTC) (edited on 2016-09-25 14:02 (UTC) by 3ED_0)

mittens2001: probably you right :) thx Btw. imho this should be mentioned in PKGBUILD wiki

<deleted-account> commented on 2016-09-25 06:39 (UTC)

probably "java-runtime" >= 8 since all java packages provide that in their PKGBUILD.

3ED_0 commented on 2016-09-22 10:28 (UTC)

Which one? OpenJDK or OpenJRE? OracleJDK or maybe OracleJRE? Closest I can think is java-runtime-common (pkgver=2) or optdepends/install=info.