Class JnaTools


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