The release of Java 9 is probably only a few months away. If you try to run LT with a current release of Java 9, you’ll get a
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at start. The solution is to add
--add-modules java.xml.bind when running LT. For example:
java --add-modules java.xml.bind -jar languagetool.jar
I understand the problem is caused by Java 9’s new module system which causes some packages like
java.xml.bind to be not accessible by default. I’m not sure yet whether there will be a good fix as long as we’re still using and supporting Java 8.