Package org.languagetool.tools
Class JnaTools
- java.lang.Object
-
- org.languagetool.tools.JnaTools
-
public final class JnaTools extends java.lang.Object
JNA helper tools.- Since:
- 2.2
-
-
Constructor Summary
Constructors Modifier Constructor Description private
JnaTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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.
-
-