Scroll down and click Download Desktop Version (v4.8, 159MB)
Unpack the zip file
Double-click languagetool.jar or languagetool-server.jar
Result
System presents an alert:
“languagetool.jar” can’t be opened because it is from an unidentified developer.
Your security preferences allow installation of only apps from the App Store and identified developers.
Expected result
The standalone distribution (or a separate macOS standalone distribution) is notarized so that it works on macOS out of the box
I do know how to workaround this error, but my use-case is creating a language tool plugin for my macOS app. With the official language tool standalone distribution being unfriendly for end-users, that is a no-go.
Related recommendations
Package the desktop app, and the server app in two macOS app bundles, hiding all the internal files
Have the server app show up as an icon in the right side of the menu bar, showing the server is running
Announce the language server (by default on local host only) with a service-discovery mechanism, such as DNS-SD that both macOS and Linux compatible. In this way rather than having an error such as:
Exception in thread "main" java.lang.RuntimeException: Could not start LanguageTool HTTP server on localhost, port 8081
when port 8081 is taken, the server app could choose a free port and announce its presence. Other apps can then discover the presence of the language tool server, and the server address and port using DNS-SD.
How to reproduce:
On macOS Mojave 10.14.6, or macOS Catalina with default security preferences:
Result
System presents an alert:
Expected result
The standalone distribution (or a separate macOS standalone distribution) is notarized so that it works on macOS out of the box
I do know how to workaround this error, but my use-case is creating a language tool plugin for my macOS app. With the official language tool standalone distribution being unfriendly for end-users, that is a no-go.
Related recommendations
when port 8081 is taken, the server app could choose a free port and announce its presence. Other apps can then discover the presence of the language tool server, and the server address and port using DNS-SD.