1.8.1 does not start

Hi, I upgraded 1.6.12 to the latest but now it does not start. When I click the icon the first graphics window opens and in few seconds, it goes away. That's it.

Can anyone tell me how I should troubleshoot?

Thanks, clf

You might be able to get some information on the issue by running arduino_debug from the command line. arduino_debug is located in the Arduino IDE installation folder. If you do so, please post the output in a reply here using code tags (</> button on the toolbar).

I know I am new and is messed up.
Appreciate if you can tell me what I should do.
Below is what i get:


``D:\Program Files (x86)\Arduino>arduino_debug
Loading configuration…
Initializing packages…
Preparing boards…
Invalid library found in D:\My Documents\Arduino\libraries\Balance_Robot: D:\My Documents\Arduino\libraries\Balance_Robot
Invalid library found in D:\My Documents\Arduino\libraries\Downloads: D:\My Documents\Arduino\libraries\Downloads
Invalid library found in D:\My Documents\Arduino\libraries\firmware_WS2812: D:\My Documents\Arduino\libraries\firmware_WS2812
Invalid library found in D:\My Documents\Arduino\libraries__MACOSX: D:\My Documents\Arduino\libraries__MACOSX
Invalid library found in D:\My Documents\Arduino\libraries\Balance_Robot: D:\My Documents\Arduino\libraries\Balance_Robot
Invalid library found in D:\My Documents\Arduino\libraries\Downloads: D:\My Documents\Arduino\libraries\Downloads
Invalid library found in D:\My Documents\Arduino\libraries\firmware_WS2812: D:\My Documents\Arduino\libraries\firmware_WS2812
Invalid library found in D:\My Documents\Arduino\libraries__MACOSX: D:\My Documents\Arduino\libraries__MACOSX
Invalid library found in D:\My Documents\Arduino\libraries\Balance_Robot: D:\My Documents\Arduino\libraries\Balance_Robot
Invalid library found in D:\My Documents\Arduino\libraries\Downloads: D:\My Documents\Arduino\libraries\Downloads
Invalid library found in D:\My Documents\Arduino\libraries\firmware_WS2812: D:\My Documents\Arduino\libraries\firmware_WS2812
Invalid library found in D:\My Documents\Arduino\libraries__MACOSX: D:\My Documents\Arduino\libraries__MACOSX
Invalid library found in D:\My Documents\Arduino\libraries\Balance_Robot: D:\My Documents\Arduino\libraries\Balance_Robot
Invalid library found in D:\My Documents\Arduino\libraries\Downloads: D:\My Documents\Arduino\libraries\Downloads
Invalid library found in D:\My Documents\Arduino\libraries\firmware_WS2812: D:\My Documents\Arduino\libraries\firmware_WS2812
Invalid library found in D:\My Documents\Arduino\libraries__MACOSX: D:\My Documents\Arduino\libraries__MACOSX
java.io.FileNotFoundException: C:\Users\Clive\AppData\Local\Arduino15\preferences.txt (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at java.io.FileOutputStream.(FileOutputStream.java:162)
at processing.app.legacy.PApplet.createWriter(PApplet.java:559)
at processing.app.PreferencesData.save(PreferencesData.java:118)
at processing.app.Base.(Base.java:280)
at processing.app.Base.main(Base.java:140)
java.lang.RuntimeException: Couldn’t create a writer for C:\Users\Clive\AppData\Local\Arduino15\preferences.txt
at processing.app.legacy.PApplet.createWriter(PApplet.java:571)
at processing.app.PreferencesData.save(PreferencesData.java:118)
at processing.app.Base.(Base.java:280)
at processing.app.Base.main(Base.java:140)

D:\Program Files (x86)\Arduino>

I tried updating it as version 1.6.12.

This is the reason:

ashleyf: java.io.FileNotFoundException: C:\Users\Clive\AppData\Local\Arduino15\preferences.txt (Access is denied)

I'm not sure exactly what the cause of the problem is. 1.6.12 should also be using that file and obviously it can do so without a problem. You could try right clicking on the Arduino IDE shortcut and then choosing "Run as administrator". Another option is to use the IDE in portable mode by creating a folder in the Arduino IDE installation folder named portable. This will cause the preference file to be located inside of that folder, which may not have the same access issues as the other location.

Thankyou very much for your support. I was able to restore windows to an earlier version and now everything looks Ok Cheers!