Initially, I installed Arduino IDE and was trying to add ESP Board to it but it was having several errors.
After that, I installed and uninstalled the IDE several times, once by directly deleting the folder.
And now when I am trying the install again it shows either a pop up stating 'the Arduino IDE is already installed, please uninstall that first' or it even doesn't get started.
I did the same thing now but as already stated, by clicking the 'Arduino' application, a pop up opens where the Arduino usually starts. It goes through 'Installing packages-Preparing boards-Starting' and then suddenly everything disappears.
I can't track it even in Task manager or in control panel. FYI I am using a 64-bit system with Windows 8.1 OS.
I had arduino ide downloaded on my mac, for what ever reason it wasn't uploading sketches to a mega. So i tried the computer at work, same sketch, and it uploaded no problem. So i figured there is probably something wrong with my IDE... i deleted everything i could find relating to arduino from my mac book...
went back to arduino IDE download page, click on the mac tab, click download, and nothing happens.. the page will act like its loading for a minute then nothing, sometimes it will refresh the page, but never actually downloads anything.
mikedixon243:
I had arduino ide downloaded on my mac, for what ever reason it wasn't uploading sketches to a mega. So i tried the computer at work, same sketch, and it uploaded no problem. So i figured there is probably something wrong with my IDE... i deleted everything i could find relating to arduino from my mac book...
went back to arduino IDE download page, click on the mac tab, click download, and nothing happens.. the page will act like its loading for a minute then nothing, sometimes it will refresh the page, but never actually downloads anything.
any suggestions?
That's off topic for this thread. Please start a new thread.
pert:
Run arduino_debug.exe from the command line and then post the output here using code tags (</> button on the toolbar).
Hi Pert,
Please find the below text as you have asked for
<D:\ESP\arduino-1.8.5>arduino_debug
Looking for library 'user32'
Adding paths from jna.library.path: null
Trying user32.dll
Found library 'user32' at user32.dll
DPI detection failed, fallback to 96 dpi
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
Loading configuration...
Initializing packages...
Preparing boards...
Starting...
java.io.FileNotFoundException: C:\Users\PARAG\AppData\Local\Arduino15\preference
s.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.handleOpen(Base.java:855)
at processing.app.Base.handleOpen(Base.java:824)
at processing.app.Base.handleOpen(Base.java:820)
at processing.app.Base.handleNew(Base.java:759)
at processing.app.Base.(Base.java:465)
at processing.app.Base.main(Base.java:144)
java.lang.RuntimeException: Couldn't create a writer for C:\Users\PARAG\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.handleOpen(Base.java:855)
at processing.app.Base.handleOpen(Base.java:824)
at processing.app.Base.handleOpen(Base.java:820)
at processing.app.Base.handleNew(Base.java:759)
at processing.app.Base.(Base.java:465)
at processing.app.Base.main(Base.java:144) >
I suspect there is a permissions issue where the Arduino IDE can't access or create the file C:\Users\PARAG\AppData\Local\Arduino15\preferences.txt.
A workaround is to use the Arduino IDE in portable mode:
That will cause the preferences.txt file to be located in the portable subfolder of the Arduino IDE installation folder rather than C:\Users\PARAG\AppData\Local\Arduino15. So then you only need to be sure that the Arduino IDE is installed in a location where your user has the appropriate permissions. It looks like you have it installed at D:\ESP\arduino-1.8.5, so that should be fine.
That's not to say you can't resolve the actual problem causing the IDE to not start but sometimes it's nice to have an alternative solution available.
pert:
I suspect there is a permissions issue where the Arduino IDE can't access or create the file C:\Users\PARAG\AppData\Local\Arduino15\preferences.txt.
That will cause the preferences.txt file to be located in the portable subfolder of the Arduino IDE installation folder rather than C:\Users\PARAG\AppData\Local\Arduino15. So then you only need to be sure that the Arduino IDE is installed in a location where your user has the appropriate permissions. It looks like you have it installed at D:\ESP\arduino-1.8.5, so that should be fine.
That's not to say you can't resolve the actual problem causing the IDE to not start but sometimes it's nice to have an alternative solution available.
Hi Pert,
Thanks a lot. Finally, I am able to see the Arduino IDE opening on my laptop. Looking forward to exploring more of Arduino. Thanks again!!!