Skip to content

vim-grammarous: Grammar check failed with exit status 1 #115

@bondhugula

Description

@bondhugula

Running :GrammarousCheck yields:

vim-grammarous: Grammar check failed with exit status 1:

java -version
openjdk version "11.0.28" 2025-07-15
OpenJDK Runtime Environment (build 11.0.28+6-post-Ubuntu-1ubuntu122.04.1)
OpenJDK 64-Bit Server VM (build 11.0.28+6-post-Ubuntu-1ubuntu122.04.1, mixed mode, sharing)

The plugin was installed via vundle. Commit ID at .vim/bundle/vim-grammarous/

commit db46357465ce587d5325e816235b5e92415f8c05 (grafted, HEAD -> master, origin/master, origin/HEAD)
Author: Linda_pp <rhysd@users.noreply.github.com>
Date:   Mon Nov 30 20:07:57 2020 +0900

    Merge pull request #87 from matze-dd/master
    
    Display all replacement suggestions from LanguageTool

The command it's running is below with the real error:

Error: LinkageError occurred while loading main class org.languagetool.commandline.Main
	java.lang.UnsupportedClassVersionError: org/languagetool/commandline/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

It'll be extremely helpful if there is a debug log that actually logs this command and error accessible from vim via a ':.." command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions