Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


2013/12/8 CVAlkan <foberle@enteract.com>

Hi:

I'm using LibreOffice Writer Version: 4.1.3.2 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:

==================================

[snip]​​

java.lang.UnsupportedClassVersionError: org/languagetool/openoffice/Main :
Unsupported major.minor version 51.0

[snap]​​


The extension will not be installed.
==========================

In Options: LibreOffice: Advanced, I show two Java Runtime Environments
installed:
(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: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: 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.