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

Hello,
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: https://github.com/coala-analyzer/coala/pull/744
As you can see we experimented a bit with the build matrices and settings, but without success.

This is one of the appveyor builds: https://ci.appveyor.com/project/sils1297/coala/build/1.0.1111
We execute a test suite there and the test for "LanguageToolBearTest" does fail.

The language-check tool can be found here: https://github.com/myint/language-check.

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.

    Regards
    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

Generic

? 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

Recent Discussions

26 Mar, 2019 06:34 AM
26 Mar, 2019 06:27 AM
25 Mar, 2019 09:12 PM
25 Mar, 2019 06:34 PM
25 Mar, 2019 06:20 AM

 

24 Mar, 2019 06:52 PM
24 Mar, 2019 05:26 PM
24 Mar, 2019 03:07 AM
22 Mar, 2019 02:20 PM
22 Mar, 2019 11:00 AM
22 Mar, 2019 02:51 AM