Skip to content

Windows: incompatible JNA native library installed #5092

Closed
@jczimm

Description

@jczimm

Windows 10
Arduino 1.6.9


arduino.exe closes shortly after execution.

Running arduino_debug.exe:

arduino-1.6.9$ arduino_debug
java.lang.Error:

There is an incompatible JNA native library installed on this system
[the beginning of my PATH]
To resolve this issue you may do one of the following:
 - remove or uninstall the offending library
 - set the system property jna.nosys=true
 - set jna.boot.library.path to include the path to the version of the
   jnidispatch library included with the JNA jar file you are using

        at com.sun.jna.Native.<clinit>(Native.java:146)
        at com.sun.jna.Pointer.<clinit>(Pointer.java:41)
        at com.sun.jna.platform.win32.WinReg$HKEY.<init>(WinReg.java:32)
        at com.sun.jna.platform.win32.WinReg.<clinit>(WinReg.java:61)
        at cc.arduino.os.windows.FolderFinderInWindowsRegistry.findInternal(FolderFinderInWindowsRegistry.java:53)
        at cc.arduino.os.windows.FolderFinder.find(FolderFinder.java:48)
        at processing.app.windows.Platform.recoverSettingsFolderPath(Platform.java:56)
        at processing.app.windows.Platform.init(Platform.java:48)
        at processing.app.Base.guardedMain(Base.java:153)
        at processing.app.Base.main(Base.java:135)

I took a look at #1948 and #2301 but could not figure out how to set the system property described.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions