Arduino IDE not working in Windows 10

Hi,

I am facing this problem since Arduino IDE 1.8.4

Whenever I click on Arduino IDE, it starts running, I get the start up screen but then it suddenly disappears after showing the message "starting..."

I have tried

  • reinstalling
  • Running as administrator

but nothing worked, IDE just stops after it shows "starting..."

Capture1.PNG

Capture2.PNG

If you run the program arduino_debug.exe that's located in the Arduino IDE installation folder from the command line you will get some information on the cause of the failure to start.

This could be caused by many things but the most common when using Arduino IDE 1.8.4 is described here:

The debug version does not seem to be of any help. Does anyone have any other ideas on getting the Arduino IDE working on windows 10?
Dell laptop P24T, Win 10, administrator mode, tried every method of installing (ZIP, installer, etc.)
And yes Roy, I already tried turning it off and on again.

c:\arduino-1.8.5>arduino_debug.exe
Looking for library 'user32'
Adding paths from jna.library.path: null
Trying user32.dll
Found library 'user32' at user32.dll
Looking for library 'shell32'
Adding paths from jna.library.path: null
Trying shell32.dll
Found library 'shell32' at shell32.dll
Looking for library 'Ole32'
Adding paths from jna.library.path: null
Trying Ole32.dll
Found library 'Ole32' at Ole32.dll
Looking for library 'kernel32'
Adding paths from jna.library.path: null
Trying kernel32.dll
Found library 'kernel32' at kernel32.dll
com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.
at com.sun.jna.platform.win32.Shell32Util.getFolderPath(Shell32Util.java:48)
at com.sun.jna.platform.win32.Shell32Util.getFolderPath(Shell32Util.java:61)
at cc.arduino.os.windows.Win32KnownFolders.getDocumentsFolder(Win32KnownFolders.java:71)
at processing.app.windows.Platform.recoverDefaultSketchbookFolder(Platform.java:76)
at processing.app.windows.Platform.init(Platform.java:55)
at processing.app.Base.(Base.java:201)
at processing.app.Base.main(Base.java:144)

c:\arduino-1.8.5>

I did install Java. Tried the 32 bit version but still no joy.

Is it the App Store version or the ZIP version?

cmayer777:
com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.

This indicates that for some reason the Arduino IDE is unable to access your Documents folder. Maybe that folder is on a drive that is not currently accessible. Maybe it's a permissions problem.

It's best to find the true solution for the problem but if you can't do that, here's the workaround:

  1. Install the hourly build of the Arduino IDE from:
    http://www.arduino.cc/en/Main/Software#hourly

  2. Run it in portable mode by following these instructions:
    https://www.arduino.cc/en/Guide/PortableIDE

Reference: Arduino IDE fails to start under windows if "Documents" directory is unavailable. · Issue #7097 · arduino/Arduino · GitHub

If you download the IDE from the Microsoft site, they tell you that it is not compatible with Windows 10 so don't waste your time trying to use it with Windows 10. There is no way to make it work. People mean well and try to help and they offer some suggestions which can be quite complicated and involved but they do not work. I have never seen anyone say that they have the IDE working with Windows 10. I was pretty sure I had it working before on a computer with Windows 10 in the past but it won't work now and like I said, if you download it from the Windows app store they tell you it does not work with Windows 10. I wish they had that warning on the Arduino download page.

What are you talking about???

pittsville:
If you download the IDE from the Microsoft site, they tell you that it is not compatible with Windows 10 so don't waste your time trying to use it with Windows 10.

From https://www.microsoft.com/en-us/p/arduino-ide/9nblggh4rsd8?ocid=badge&rtc=1#system-requirements

OS Windows 10

Please post a link to where it says it doesn't work with Windows 10.

pittsville:
I have never seen anyone say that they have the IDE working with Windows 10.

The Arduino IDE works fine for me on Windows 10. The Arduino IDE is working fine for thousands of people on Windows 10. If it didn't work with Windows 10 we would hear about it on this forum several times a day but we don't. Yes, a very small percentage of users run into problems but it's not isolated to any one OS, we see these problems with all operating systems and Windows versions.

So you're only talking about the Windows App Store version of the Arduino IDE, and not the regular version of the Arduino IDE. Right?

Keep in mind that you can always use the regular version of the Arduino IDE with Windows 10. I don't know why anyone would bother messing with these stupid Windows app things if they have an alternative.

pittsville:
It says something like the app "works with core functionality on Windows 10 but some limited plug-ins do not work. We are working with Microsoft on a fix". Core functionality means you will be lucky if you get it to work with Windows 10 but it is not going to work right.

Considering there are only a very few plugins for the Arduino IDE, I think that's quite the exaggeration.

The most popular plugin I know of is the ESP Exception Decoder. That plugin is nice but it's not essential and in fact the average Arduino user probably wouldn't find it useful. If you do need it then there is a command line version that is not an Arduino IDE plugin.

The only other plugin I can think of is the ESP32 filesystem uploader. Again, a nice plugin but not essential.

So if you are actually one of the rare people who do need one of these plugins then just use the regular version of the Arduino IDE. Chances are that the sort of advanced user the plugins are written for would already be doing so.

As I said before, if you're having an actual problem (rather than just panicking over some notice) then start a new thread with a complete description and we'll help you out.

pittsville:
It says something like the app "works with core functionality on Windows 10 but some limited plug-ins do not work. We are working with Microsoft on a fix". Core functionality means you will be lucky if you get it to work with Windows 10 but it is not going to work right.

The IDE works perfectly fine in Windows 10.
I didn't install the "app" however.

.

"It says something like the app "works with core functionality on Windows 10 but some limited plug-ins do not work. We are working with Microsoft on a fix". Core functionality means you will be lucky if you get it to work with Windows 10 but it is not going to work right. "

The above quote is in the Windows store, but it is not Windows 10 in general. It specifically states Windows 10S may have issues with some plug-ins, the edition limited to store only that does not run Win32 apps.

I use the Store version of the app on Windows 10 Pro and it works just fine.

If people are going to quote Microsoft, they really need to get it right.

I am writing this, knowing this is an older topic, but I just felt this needed clarifying in case others hit this topic and think there is an issue. I have successfully compiled numerous sketches with the Windows Store version of IDE on Win 10 Pro.