LanguageTool 3.5 requires Java 8 or later. Gentoo provides ability to have several JVM installed, so explicitly inform user about needed version. Conside adding into the ebuild postinst instruction with some ewarn about that.
Hi! There's something missing in this ebuild and it's the definition of the DEPEND variable. Indeed, this variable must be set in Java-based ebuilds for Portage to enforce a certain version of the JVM. It won't work without it. I'm going to push a fix ASAP. CC'ed in Java@ so that Chewi can correct me if I'm wrong.
commit 72f5d7034f0fe1ab1a97d9b45db6e26c37c7eb03 (HEAD -> master, origin/master, origin/HEAD) Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: Wed Aug 30 21:13:50 2017 +0200 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Wed Aug 30 21:14:08 2017 +0200 app-text/languagetool: define DEPEND variable. Gentoo-Bug: https://bugs.gentoo.org/628948 Package-Manager: Portage-2.3.6, Repoman-2.3.1 app-text/languagetool/languagetool-3.5-r2.ebuild | 70 ++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 app-text/languagetool/languagetool-3.5-r2.ebuild
monsieurp, this was the wrong thing to do. This package does not get compiled so no JDK is necessary and the package.env file gets the necessary VM=">=virtual/jre-1.8" line to indicate that Java 8 is required. gjl is supposed to launch the right JVM automatically even if the user has selected an older one. The reporter did not include any kind of error message so I don't know whether this mechanism broke or whether they simply assumed that it lacked this capability.
It was assumption only.