Back to LanguageTool Homepage - Privacy - Imprint

Unable to install language tool extension in ubuntu libreoffice


I get this error message when I'm trying to install language tool:

( { { Message = "[jni_uno bridge error] UNO calling Java method writeRegistryInfo: non-UNO exception occurred: java.lang.UnsupportedClassVersionError: org/languagetool/openoffice/Main : Unsupported major.minor version 52.0\X000ajava stack trace:\X000ajava.lang.UnsupportedClassVersionError: org/languagetool/openoffice/Main : Unsupported major.minor version 52.0\X000a\X0009at java.lang.ClassLoader.defineClass1(Native Method)\X000a\X0009at java.lang.ClassLoader.defineClass(\X000a\X0009at\X000a\X0009at\X000a\X0009at$100(\X000a\X0009at$\X000a\X0009at$\X000a\X0009at Method)\X000a\X0009at\X000a\X0009at java.lang.ClassLoader.loadClass(\X000a\X0009at java.lang.ClassLoader.loadClass(\X000a\X0009at\X000a\X0009at java.lang.ClassLoader.loadClass(\X000a\X0009at\X000a\X0009at\X000a", Context = ( @0 } }

I have installed libreoffice-java-common and java environment settings for libreoffice are enabled but the problem remains.

My setup: Ubuntu 15.10, LibreOffice, Language Tool 3.2

I would appreciate any help.

(Daniel Naber) #2

You need to make sure that Java 8 is not only installed on your system but that it's also configured in LibreOffice at Tools -> Options -> Advanced.


Thank you very much for your help. I've installed Java 8 and language tool works just fine.