Arduino IDE 1.8.5 crashes on startup

Yes. 1.8.5 is old, latest is 1.8.12.

I have the same problem. Without warnings or errors is it hard to tell what is going on. Here is what I did to find the problem and then solve the issue on windows 10. Arduino IDE version "arduino-1.8.13-windows". There are probably easier ways but this worked for me.

Download the non-install version "Windows ZIP file for non admin install" and unzip it.
Run the version that is in the unzipped folder.
It will fail with a warning pop-up. In my instance it was a setting in windows defender about java.
Fix the setting.
Try and run the version you have already installed or install the regular version.
You can delete the version in the non admin folder when you are convinced that the installed version is working correctly.

cheers,
-Bryan

Guys, my arduino IDE was not opening for nothing, no matter which version I was installing, no matter what kind of solution I tried to apply like the ones in stackoverflow nor the ones I Found here like deleting the files from arduino15 folder...

After running the arduino_debug.exe it prints the following error:

java.io.IOException: The cloud file provider is not running

googling it I came across with an video of an indian guy talking about the microsoft onedrive and I watched quickly as it is just 1:42 minutes long and I saw that my onedrive was stopped. I decided to give it a chance to see what would happen if it starts to work again

I restarted the onedrive (following the video instructions) and waited it to finish the synchronization and after that I tried again to start the arduino IDE e voilá!!!! All versions started to open normally again!

The indian guy video is this one: Fix OneDrive Sign in Error 0x8004de25 - YouTube

My suspicious is that the arduino IDE tries to find its config files in a folder that is managed by onedrive like the ones that appeared in these folder in my PC: C:\Users\thiag\OneDrive\Documents\ArduinoData

So, if nothing is helping to solve this problem, maybe this alternative solution may help!

=)

@emunthi

One drive and other cloud / network installs of the IDE are a well known cause of problems.

General recommendation is to do a proper LOCAL install as they are less prone to the vagaries of the clouds and ISP's

The answer is simple: For Arduino IDE 1.8.13, it must be installed into the default Program File (x68) directory.
Too much speculative noise in the forums.

Arduino IDE 1.8.13 works just fine for me installed outside of the default Program Files (x86) directory. Have you personally experienced problems with an installation to a custom location?

I've never seen another report of a custom installation path causing a problem. Granted, the majority of the users use the default location, but I do watch carefully for this sort of report.

Yes. Changing installation path solved the problem