void-linux / void-linux/void-packages

LanguageTool seems to require a more recent version of the JRE

Open
#57,426 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-testing
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Is this a new report?

Yes

System Info

Void 6.12.50_1 x86_64 AuthenticAMD notuptodate rrrrrrmmmnFFF

Package(s) Affected

LanguageTool-6.6_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

languagetool http server should run without error

Actual behaviour

LanguageTool doesn't run and java runtime complains of being unable to run more recent class file versions than 55.0 (this requires 61.0)

Error: LinkageError occurred while loading main class org.languagetool.server.HTTPServer
	java.lang.UnsupportedClassVersionError: org/languagetool/server/HTTPServer 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
Steps to reproduce
  1. install LanguageTool
  2. run LanguageTool as http server java -cp /usr/share/java/languagetool/languagetool-server.jar org.languagetool.server.HTTPServer --port 8081 --allow-origin

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the LanguageTool-6.6_1 package and reproduce the failure using the documented HTTPServer command. Check the Java runtime and class-file versions used by the package; done means the LanguageTool HTTP server starts without the UnsupportedClassVersionError.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.