Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

JNA library conflict / not using supplied JNA #1948

Closed
Milestone
@pfeerick

Description

The JNA library will, by default, first check the system for jnidispatch.dll rather than extract it from the jar.

There's an issue when Arduino starts in 32-bit mode and then suddenly tries to load 64-bit jnidispatch.dll from the system path. Also, there is the issue of a conflicting version of jnidispatch.dll being present and mistakenly used.

Symptoms on Arduino 1.0.5r2 are seeing the splash screen, and then nothing. Arduino 1.5.6r2 shows the splash screen for longer, and then shows a "Launch4j: An error occurred while starting the application" message. If you work out how to display debug messages, you will get "java.lang.UnsatisfiedLinkError" and "com.sun.jna.Native.pointerSize()I"

This issue is comes from Processing, and has been reported here: processing/processing#2239

Resolution is simple - set the jna.nosys Java property to true i.e. -Djna.nosys=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /