Error in library when running outside the IDE

0

I am connecting the application to a bluetooth device through a library, it runs perfectly inside NetBeans, but then when I go through the .jar it gives this error:

Exception in thread "main" java.lang.NoSuchFieldError: an_in
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at plux.newdriver.bioplux.Device.<clinit>(Device.java:9)
        at biosignalsplugin.Methods.FindDevice(Methods.java:51)
        at biosignalsplugin.BioSignalsPlugin.main(BioSignalsPlugin.java:31)

I came with the library a DLL file that I already put in the system32 folder, the library I imported using Add Jar / folder and is perfect in the IDE, I have no idea what happens when I run .jar

    
asked by anonymous 18.10.2017 / 22:38

0 answers