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

Latest release 1.6.5 - cannot run -> java.lang.UnsatisfiedLinkError #3241

Closed
robertgregor opened this Issue May 27, 2015 · 3 comments

Comments

2 participants
@robertgregor
Copy link

robertgregor commented May 27, 2015

Hello,
I have used the latest build of Arduino with Windows 7 64 bits. When I tried to start, I have the following error:

c:\RH\arduino-1.6.5>arduino_debug
Loading configuration...
java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/win32-amd64/jnidispatch.dll) not found in resource path
at com.sun.jna.Native.loadNativeLibrary(Native.java:471)
at com.sun.jna.Native.(Native.java:91)
at processing.app.windows.Advapi32.(Advapi32.java:21)
at processing.app.windows.Registry.getStringValue(Registry.java:115)
at processing.app.windows.Platform.getSettingsFolder(Platform.java:194)
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:153)
at processing.app.Base.main(Base.java:133)

@ffissore

This comment has been minimized.

Copy link
Contributor

ffissore commented May 27, 2015

processing.app.windows.Advapi32 has been deleted with #3194 Please download the hourly build again

@ffissore ffissore self-assigned this May 27, 2015

@ffissore ffissore added this to the Release 1.6.5 milestone May 27, 2015

@robertgregor

This comment has been minimized.

Copy link

robertgregor commented May 28, 2015

Hello, seems like the issue is still there. What was exactly the change?

Robert

c:\Download\zk\Arduino-master\build\windows\work>arduino_debug
Loading configuration...
Initializing packages...
Preparing boards...
Starting...
java.lang.UnsatisfiedLinkError: C:\Download\zk\Arduino-master\build\windows\work
\lib\AStylej.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1814)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1083)
at cc.arduino.packages.formatter.AStyleInterface.(AStyleInterfac
e.java:42)
at cc.arduino.packages.formatter.AStyle.(AStyle.java:55)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct

orAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at java.lang.Class.newInstance(Class.java:433)
at processing.app.Editor.createToolMenuItem(Editor.java:1025)
at processing.app.Editor.addInternalTools(Editor.java:1048)
at processing.app.Editor.buildToolsMenu(Editor.java:760)
at processing.app.Editor.buildMenuBar(Editor.java:549)
at processing.app.Editor.(Editor.java:240)
at processing.app.Base.handleOpen(Base.java:865)
at processing.app.Base.handleOpen(Base.java:850)
at processing.app.Base.handleOpen(Base.java:846)
at processing.app.Base.handleNew(Base.java:737)
at processing.app.Base.(Base.java:466)
at processing.app.Base.guardedMain(Base.java:223)
at processing.app.Base.main(Base.java:132)
C:\Download\zk\Arduino-master\build\windows\work\lib\AStylej.dll: Can't load IA
32-bit .dll on a AMD 64-bit platform
Cannot load native library c:\Download\zk\Arduino-master\build\windows\work\lib
astylej.dll
The program has terminated!

c:\Download\zk\Arduino-master\build\windows\work>

@ffissore

This comment has been minimized.

Copy link
Contributor

ffissore commented May 29, 2015

You're using a 64 bit jvm. Arduino for windows works only with 32bit jvm. And indeed we bundle a 32 jvm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment