Package org.languagetool.tools
Class JnaTools
java.lang.Object
org.languagetool.tools.JnaTools
JNA helper tools.
- Since:
- 2.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Set a the jna.nosys to true to avoid the "There is an incompatible JNA native library installed on this system" error from JNA.
-
Constructor Details
-
JnaTools
private JnaTools()
-
-
Method Details
-
setBugWorkaroundProperty
public static void setBugWorkaroundProperty()Set a the jna.nosys to true to avoid the "There is an incompatible JNA native library installed on this system" error from JNA. NOTE: only call this from main() methods, as setting system properties in other contexts (web apps etc.) can lead to strange effects.
-