mhayashi1120 / Emacs-langtool

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

way to add args before -jar #29

Open yqrashawn opened 6 years ago

yqrashawn commented 6 years ago

I got this exception NoClassDefFoundError: javax/xml/bind/JAXBException.

I don't know much about java. I figure out that --add-modules java.xml.bind works on my mac. But can't find way to add the arg before -jar.

djh1202 commented 6 years ago

I was having this same issue, try adding the following to your .emacs:

(setq langtool-java-user-arguments '("--add-modules=java.xml.bind"))