Back to LanguageTool Homepage - Privacy - Imprint

[Debian 9] [LT-4.3] Error: Could not find or load main class


(Patrick Frank) #1

Hello to all who read this :slight_smile:

On a fresh Debian 9 install I tried to use Language Tool 4.3 but it only posts this error:
[21:32:51 patrick@teacup:~/Downloads/LanguageTool-4.3] java languagetool.jar
Error: Could not find or load main class languagetool.jar
Caused by: java.lang.ClassNotFoundException: languagetool.jar

I installed the packages: openjdk-9-jre and later also openjdk-9-jdk
I tried variants of my syntax: “java -cp .” or “java ~/Downloads/LanguageTool-4.3/libs languagetool.jar”


(Daniel Naber) #2

The correct call is this:

java -jar languagetool.jar