void-linux / void-linux/void-packages
LanguageTool seems to require a more recent version of the JRE
Open
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
- install LanguageTool
- run LanguageTool as http server
java -cp /usr/share/java/languagetool/languagetool-server.jar org.languagetool.server.HTTPServer --port 8081 --allow-origin
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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