Skip to content

Get rid of JNA #3190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ffissore opened this issue May 20, 2015 · 0 comments
Closed

Get rid of JNA #3190

ffissore opened this issue May 20, 2015 · 0 comments
Assignees
Labels
Component: IDE The Arduino IDE OS: Windows Specific to the Windows version of the Arduino IDE
Milestone

Comments

@ffissore
Copy link
Contributor

Several issues are related to exceptions like

java.lang.UnsatisfiedLinkError: com.sun.jna.Native.pointerSize()I
        at com.sun.jna.Native.pointerSize(Native Method)
        at com.sun.jna.Native.<clinit>(Native.java:93)
        at processing.app.windows.Advapi32.<clinit>(Advapi32.java:21)
        at processing.app.windows.Registry.getStringValue(Registry.java:115)
        at processing.app.windows.Platform.getSettingsFolder(Platform.java:193)
        at processing.app.BaseNoGui.getSettingsFolder(BaseNoGui.java:287)
        at processing.app.BaseNoGui.getSettingsFile(BaseNoGui.java:272)
        at processing.app.PreferencesData.init(PreferencesData.java:38)
        at processing.app.BaseNoGui.initParameters(BaseNoGui.java:946)
        at processing.app.Base.guardedMain(Base.java:151)
        at processing.app.Base.main(Base.java:131)

Try solving them updating bundled jna to latest stable available

Update
JNA is only used on Windows, to associate .ino files to the unzipped IDE. The same thing is done by the windows installer, only using two different registry keys. Get rid of JNA and thus the registry modifications done by the java code: registry will be modified by the installer only

@ffissore ffissore self-assigned this May 20, 2015
@ffissore ffissore changed the title Update JNA Get rid of JNA May 20, 2015
@ffissore ffissore added Component: IDE The Arduino IDE OS: Windows Specific to the Windows version of the Arduino IDE labels May 21, 2015
@ffissore ffissore added this to the Release 1.6.5 milestone May 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE OS: Windows Specific to the Windows version of the Arduino IDE
Projects
None yet
Development

No branches or pull requests

1 participant