-
-
Notifications
You must be signed in to change notification settings - Fork 7k
JNA.jar version issue #1894
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
Comments
The issue is not specific to 1.5.6-r2 beta, but also affects the current stable version 1.0.5-r2. |
Can you detail the problem? Latest 1.5.6 for windows includes an arduino_debug.exe. Can you use it to launch the IDE from the command line and, once an error message is printed, paste it here? |
I had already tried that many times during my investigation and in fact the error message you see below was the reason for me finding the solution (I saw that "jna" part in the package name and focused on that then).
|
_Just a note:_ On a different PC of mine (also Win7 x64), it works fine with the JNA.jar that comes with Arduino. But I also just tried it with a newer version (that fixed the issue on my other machine) and it also works. Perhaps we need some sort of survey to evaluate if other users would have issues when moving to a newer JNA.jar version. |
Did you use the installer or just unzip? |
I tried both, but they seem to come with the same JNA.jar, so that doesn't make any difference. same applies for the nightly builds. |
Which flavor of Windows? Home, Business, Enterprise? Are CLASSPATH and/or JAVA environment variables set? |
Win 7 x64 Professional SP1 Env. vars: I have neither a CLASSPATH nor a JAVA variable set. So, Arduino should definitely be using the JRE bundled with it. |
Huh. I have exactly the same operating system and have had no problems. |
That is really weird. It must be related to something different then. But no real clue, as to what it might be. |
I have four Arduino copies of JNA.JAR on my computer. They are all identical... C:\Arduino >dir jna* /s Directory of C:\Arduino\arduino-1.0.5\lib 05/17/2013 09:24 PM 625,227 jna.jar Directory of C:\Arduino\arduino-1.5.4\lib 09/11/2013 02:59 PM 625,227 jna.jar Directory of C:\Arduino\arduino-1.5.5\lib 11/28/2013 02:35 PM 625,227 jna.jar Directory of C:\Arduino\arduino-1.5.6-r2\lib 02/21/2014 06:11 PM 625,227 jna.jar
C:\Arduino >fc /b C:\Arduino\arduino-1.5.6-r2\lib\jna.jar C:\Arduino\arduino-1.5.5\lib\jna.jar C:\Arduino >fc /b C:\Arduino\arduino-1.5.6-r2\lib\jna.jar C:\Arduino\arduino-1.5.4\lib\jna.jar C:\Arduino >fc /b C:\Arduino\arduino-1.5.6-r2\lib\jna.jar C:\Arduino\arduino-1.0.5\lib\jna.jar |
Did you try, running Arduino with the newer version I attached in the linked thread? |
Does not make any difference. (I did not expect it to.) The Arduino IDE works with no problems. My suspicion is the problem lies with your anti-virus software; that it is trying to inject a DLL into the Arduino process which is causing JNA to go haywire. Try disabling it. |
@Coding-Badly, @spacegaier |
Updating JNA. Issue is #3190 |
Trouble with the latest (1.5.6-r2) beta...
http://forum.arduino.cc/index.php?topic=221379.0
The text was updated successfully, but these errors were encountered: