Launch4j error

Got a Dragino Yun-shield and therefore needed upgrading of the IDE.
Downloaded version 1.05.8 but there seems to be no way to start it...
Whatever I try I get the error message "Launch4j" .

I have looked around on the forum , finding many others have had
this problem .. and I tried a lot of the solutions proposed:

  • shutting down Bluetooth and WiFi
  • Erasing Arduinofolder in My documents + restart
  • erasing file "Preferences" in folder Application data
  • renaming folder Java

but nothing helps ...

anybody got a clue ?

Got no answer yet on that question but continued trying another hint from moderator to run a debugsession ... Am not sure I did the right thing but with the aid of the Explorer I found the file arduino_debug.exe , checked properties and from there I could launch this program.

Got the following response :

Exception thread "main" java.lang.
Error: Failed to create temporary file for jnidispatch library: java.io.IOException: Access denied
at com.sun.jna.Native.loadNativelibraryNative.java:503
at com.sun.jna.NativeNative.java:91
at processing.app.windows.Platform.Platform.java:286
at java.lang.Class.for Name0
at java.lang.Class.for Name
at processing.app.Base.initPlatform
at processing.app.Base.main

Hope this will clarify something...

It seems to be a Java problem. This is what I'd do:

  • run the IDE the first time as administrator
  • download and install the latest for your specific OS (also considering if your OS is 32- or 64-bit)

Thanks mate ... already done ... no success...

Well , now have proceeded a little further ... tried before to rename the Java-directory as someone had suggested , but never succeeded until I managed to stop the application "jawaw" by means of the Program administrator - and there were lots of them running ! . Then when launching the IDE again I finally escaped the "Launch4j" error message ... but it was replaced by " this application demands java developement kit 1.6 or higher" . So , finally something new. Downloaded last version of jdk ( 1.8) but then , during installation , got the message that this kit would not run properly on Windows XP ....:frowning:
Well tried anyway , and of course , got the same Launch4j message again.

Bottom line , I now know there is a problem with Java , but still not if that is because of conflict between
jdk 1.8 and XP , or something else .

Sigh