Class JnaTools

java.lang.Object
org.languagetool.tools.JnaTools

public final class JnaTools extends Object
JNA helper tools.
Since:
2.2
  • 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.