-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Component: IDEThe Arduino IDEThe Arduino IDEOS: WindowsSpecific to the Windows version of the Arduino IDESpecific to the Windows version of the Arduino IDE
Milestone
Description
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
Metadata
Metadata
Assignees
Labels
Component: IDEThe Arduino IDEThe Arduino IDEOS: WindowsSpecific to the Windows version of the Arduino IDESpecific to the Windows version of the Arduino IDE