Back to LanguageTool Homepage - Privacy - Imprint

Error: Could not find or load main class org.languagetool.server.HTTPServer


#1

I am trying to run LT on a Windows 10 machine with Java 8 using
java -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8081

However, I am getting this error. Any ideas?
Error: Could not find or load main class org.languagetool.server.HTTPServer


(Daniel Naber) #2

Do you run that command in the folder that contains languagetool-server.jar?


#3

Yes.
The GUI app runs fine.


(Daniel Naber) #4

In that case, I’m not sure what might be wrong. Is this the latest version of LT? Could you re-download it to make sure nothing is wrong with the download?


#5

Actually I wasn’t in the correct folder. It runs without the error now.