2013/12/8 CVAlkan <email@example.com>
I'm using LibreOffice Writer Version: 188.8.131.52 Build ID:
70feb7d99726f064edab4605a8ab840c50ec57a under 64 bit Ubuntu 12.04 LTS.
I received a notification that an update was available for the Language
Tool, so I clicked and, for the first time ever, it actually downloaded
something, but the installation failed with the following message:
java.lang.UnsupportedClassVersionError: org/languagetool/openoffice/Main :
Unsupported major.minor version 51.0
The extension will not be installed.
In Options: LibreOffice: Advanced, I show two Java Runtime Environments
(selected): Sun Microsystems 1.6.0_27
(not selected): Oracle Corporation 1.7.0_25
What do I do? I don't want to break anything else that uses Java and
everything else seems to work.
Here's your problem. It seems like the languagetool extension is built
against Java7 (which is the currently recommended version anyway), and your
installation of Libreoffice use Java6.
(for more informations, see
http://en.wikipedia.org/wiki/Java_class_file#General_layout, which gives a
helpful list of major version for java class files amongst other things).
As for your issue, switching to Java7 is likely to fix it, and unlikely to
break anything. Although mishap can happen, Java is usually quite nice with
retrocompatibility (in case you have anything in LibreOffice that actually
use Java beside languagetool...).
To unsubscribe e-mail to: firstname.lastname@example.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy