Back to LanguageTool Homepage - Privacy - Imprint

New version 3.2 doesn't work!


(carlos) #1

After upgrading to the latest version of the Languagetool (3.2), I haven't been able to use the app either as a stand along program or through the command line.

This is the command I use to run the tool and the error I get:

java -jar languagetool-commandline.jar -l en-US myfile.txt

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/languagetool/commandline/Main : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

The previous versions of the Languagetool worked just fine.

This is the java version I'm using in Debian 8:

java version "1.7.0_91"
OpenJDK Runtime Environment (IcedTea 2.6.3) (7u91-2.6.3-1~deb8u1)
OpenJDK Client VM (build 24.91-b01, mixed mode, sharing)

Any ideas what might be wrong?

Thanks


(Robert Fekete) #2

Hi,

LT 3.2 requires Java 8.