Java on x86 python platform - wrong version detection leads to fail

Mischa Krüger's Avatar

Mischa Krüger

12 Jul, 2015 02:18 PM

I'm working on the coala project. We recently wanted to add support for a language-checking-tool. We retrieve it via the pip package "language-check".
The problem is that it needs Java and our python builds for x86 versions do fail because of a versioning error. Since the tests work on a local machine and no one reported such an error to the language-check guys, we assume that this is an appveyor issue.

We have a pull request open on GitHub:
As you can see we experimented a bit with the build matrices and settings, but without success.

This is one of the appveyor builds:
We execute a test suite there and the test for "LanguageToolBearTest" does fail.

The language-check tool can be found here:

I hope you can help :)

  1. Support Staff 1 Posted by Feodor Fitsner on 12 Jul, 2015 07:37 PM

    Feodor Fitsner's Avatar

    Both Java 1.7 and 1.8 are installed, but it looks like that library is checking the last Java installed which is quite wrong. The registry looks like on the attached picture.

    Try tweaking the registry with script and setting 1.7 to CurrentVersion.

  2. 2 Posted by Mischa Krüger on 13 Jul, 2015 05:57 PM

    Mischa Krüger's Avatar

    Thank you for answer, we tweaked the registry like you suggest :)

    The error indeed seems to reside in the language-tool that is written in java and serves as the background server for language-check (which is just a wrapper). language-check just forwards the error.

    Mischa Krüger

  3. Support Staff 3 Posted by Feodor Fitsner on 13 Jul, 2015 06:00 PM

    Feodor Fitsner's Avatar

    Cool, glad it worked!

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:57 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac