the jar was in its original place. I've removed the jna installed on my debian and it seems to works now.
– LEONE Rémy PhD student CIFRE :: Thales TAI/Telecom Paris Tech http://www.sieben.fr/ 2015-09-24 18:27 GMT+02:00 Daniel Naber <daniel.na...@languagetool.org>: > On 2015-09-24 14:50, Remy Leone wrote: > > $ java -cp languagetool-server.jar org.languagetool.server.HTTPServer >> --port 8081 >> WARNING: running in HTTP mode, consider using SSL by running >> org.languagetool.server.HTTPSServer instead >> Setting up thread pool with 10 threads >> Starting LanguageTool 3.0 (build date: 2015-06-29 09:24) server on >> http://localhost:8081... >> Server started >> 2015-09-24 14:47:19 An error has occurred. Stacktrace follows: >> java.util.concurrent.ExecutionException: >> java.lang.NoClassDefFoundError: Could not initialize class >> com.sun.jna.Native >> > > Have you moved the languagetool-server.jar to another place, outside its > original directory? It needs some dependencies from the original directory, > so it should stay there. If that doesn't help, please try if using the > Oracle JRE or JDK makes a difference. > > Regards > Daniel > >
------------------------------------------------------------------------------
_______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel