Closed bricewge closed 10 years ago
Thanks for the report.
This is my setup with languagetool 2.5:
Hmm, version 2.5 is working for me.
(setq langtool-language-tool-jar "/usr/share/java/languagetool/languagetool-commandline.jar")
It seems under package system file. Please download and try original zip file from https://www.languagetool.org/
And please look into environment variables.
When used with the original zip file, langtool for emacs is working, thanks. Do you know how to use it with the package from a package manager?
@bricewge I don't enough know about ArchLinux package system and Java. Please try:
diff -r /path/to/LanguageTool-2.5 /usr/share/java/languagetool/
This may help to disclose the difference between zip and Arch package system.
From the diff I get this: http://hastebin.com/xowirigide.avrasm.
And the package has been built with this recipe https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/languagetool. It looks like the .jar and the libs directory had moved to /usr/share/java
instead of all the files being in the same directory.
@bricewge Is this Arch package working?
For instance, languagetool-commandline.jar is just a zip file, this contains:
META-INF/MANIFEST.MF
This file seems to say this jar file need to keep directory structure. I think that you need to bug report to archlinux project.
:+1: Thanks a lot @mhayashi1120, you nailed it! I filed a bug here: https://bugs.archlinux.org/task/39925
If someone else get the same issue on Archlinux, you should use the emacs-langtool
AUR package instead of the languagetool
package.
Hello,
This is my setup with languagetool 2.5:
I configure it this way:
But
langtool-check
always return me the following: