-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Resolved possible jnidispatch.dll conflict on Windows #2301
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
Conversation
Are you still affected by the issue on JNA.jar incompatibility? may you check if this pull request solves it? A prebuild IDE to check is here: http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-2301-BUILD-47-windows.zip |
Cristian, I re-created the issue by adding Filebot to the system path again, as it The new #2301 doesn't seem to have fixed the problem. However, Processing There were no related error messages from the debug launcher for 1.5.8 when Hope this helps. Arduino 1.0.6 - simply does nothing except show the splash screen, debug Arduinio 1.5.8 - splash screen and error message for regular launcher Arduino #2301 build - splash screen and error message for regular launcher Exception in thread "main" java.lang.UnsatisfiedLinkError: On Wed, Oct 1, 2014 at 9:40 PM, Cristian Maglie notifications@github.com
|
@pfeerick |
That bits easy : https://dl.dropboxusercontent.com/u/190356/jnidispatch.dll I haven't had time to look at this, sorry, with study starting up again and |
from: processing/processing#2239 If there's is some other Java program installed that uses JNA and jnidispatch.dll happens to be in the path then JNA in Processing will try to load it and probably crash due to some version mismatch. The issue can easily be solved by setting jna.nosys to make sure JNA will always extract the correct native lib from it's jar and ignore any libs in the system path: -Djna.nosys=true Fix arduino#1948
3db280a
to
deb2166
Compare
deb2166
to
5d97e0d
Compare
@cmaglie I've tried this latest build (123)... still no luck. To easily replicate this, I made a batch script that launches both the regular build debug launcher, and the PR build launcher with and without the conflicting JNA dll in the path. Once the exception is thrown (which is almost instant, I just have to kill the arduino launcher using the task manager). Grab it from here if it is of any use: https://dl.dropboxusercontent.com/u/190356/arduino%20JNA%20test.cmd Again, no errors other than pre 1.5 library spec warnings from the non JNA conflict launches. Line three of the exception message has changed between build 47 and 123 (processing.app.windows.Platform).
|
Hi @pfeerick I'm having hard times to reproduce the issue, on my system the IDE always starts without problems... What I've done is:
Are you sure that is |
Hi @cmaglie All I can say to that is that jnadispatch.dll (the version I gave you) If I get a chance tomorrow, I'll provision a fresh Virtual Machine and Peter On 19/01/2015 12:04 AM, Cristian Maglie wrote:
|
Setting |
@ffissore Still no satisfaction. I'm on Windows 7 x64 now, and tried my old test of including a different version of the jnidispatch.dll in the path before starting the Arduino IDE, and it breaks again. (which is how I came to find the problem, a newly installed program had added itself to the system path, and the jnidispatch.dll was newer than the Arduino IDEs, and wasn't compatible). Error message has changed slightly. This is the dll I was using : https://dl.dropboxusercontent.com/u/190356/jnidispatch.dll I run a control test of a old(er) IDE and a new test IDE with a clean path, to ensure no gremlins. Start Arduino 1.5.8 Debug (w/ BAD JNA) ...
Start Arduino 1.6.4 Debug (w/ BAD JNA) ...
Start Arduino Hourly 1.6.5 2015/05/19 09:13 Debug (w/ BAD JNA) ...
|
@ArduinoBot is baking this PR #3194 |
reapply patch arduino#2301 this patch got lost with f6546ae and its partial revert 98eb1a9 Should fix arduino#5092
This pull request needs to be tested on affected systems.
From: processing/processing#2239
Fix #1948