I'm having kind of a weird issue. I was able to create project and use the IDE for a few weeks, but when I tried again yesterday the IDE wouldn't open. Basically, I get the splash screen, and it gives a few messages, says starting, then nothing happens.
I've attached the hs_err log file, which seems to be implying an error with java. I also attached a launch log. Additionally, the issue has persisted through a few restarts/reinstalls, so that doesn't seem to be helping.
The only other thing I can offer is that one of my peers was trying to make the arduino work with labview, and so had to download a few files (as far as I know, they were all on the labview side of things though). However, she had no problems opening/closing the software while she was working on it on Friday.
A bunch of people have had IDE 1.6.x problems, including IDE crashes and bizarre compile errors, when they had a previous 1.5.x/1.6.x installation. At least some of those problems seem to be caused by out-of-date executables that the IDE saves outside the IDE installation directory. Perhaps that is what is causing your particular problem. In such cases it appears that the fix is to delete or rename the old "Arduino15" directory and re-install 1.6.x.
On Mac OS X:
/Users/(username)/Library/Arduino15
On Windows:
C:\Users(username)\AppData\Roaming\Arduino15
On Linux:
/home/(username)/.arduino15 (a.k.a. ~/.arduino15)
Ballscrewbob:
@ John.
There is also a second installation section/folder
C:\Users\AppData\Local\Arduino15 (windows)
Are you sure? I did a Google search for "AppData\Local\Arduino15" and in every case it was preceded by a username. Could it be that you copied an Arduino15 folder up a level to get it out of your %USERPROFILE%?
Oops sorry John yes forgot to add the user name but its in "Local" AND "Roaming" for sure here and no I didn't move it there. The only thing I moved was the sketches folder to another drive a long timer ago.
@ Mudbeard.
There is no problem using an earlier IDE if it supports what you need to do.
1.6.5 r5 has always been pretty stable and some earlier IDEs work well on XP too.
The only problem you may find is adding such as ESP boards or some of the newer ones like the MKR
Some libraries might also be an issue.
best way to run earlier IDE's is to just unzip it to its own folder and set up a shortcut to be able to run it independently. You may find it throws up library errors otherwise.
This seems a very random problem. I encountered it today, in the middle of a coding session. Literally nothing had changed, no background updates (no internet connectivity). I just tried to compile for an optiboot/1284 and it crashed, leaving me unable to restart the ide. Thanks for the pointers on the fix