mhayashi1120 / Emacs-langtool

LanguageTool for Emacs
GNU General Public License v3.0
378 stars 31 forks source link

abnormal exit due to java version mismatch... #31

Closed djh1202 closed 6 years ago

djh1202 commented 6 years ago

Hello,

I get the following error when I try to run langtool

LanguageTool exited abnormally with code 1 (Exception in thread "main" java.lang.UnsupportedClassVersionError: org/languagetool/commandline/Main : Unsupported major.minor version 52.0)

I'm running java 8 on Mac High Sierra, but recently installed legacy support here: https://support.apple.com/kb/dl1572?locale=en_US

djh1202 commented 6 years ago

Ok, I think I solved that by updating to a more recent JDK, but now I get this error:

LanguageTool exited abnormally with code 1 (Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException)

djh1202 commented 6 years ago

https://forum.languagetool.org/t/lt-and-java-9/1588

looks like it's this issue, as the workaround solution works when running from the command line, but I'm not sure how to get it working with emacs