error when uploading


New error started today - no updates or changes to Arduino/Java in past 24 hours. All previous codes which have successfully uploaded before no longer doing so, same error repeatedly. Have checked online for similar errors - nothing found with the “REMOVE” bit.

BN: Arduino/Genuino Uno
VID: 2A03
PID: 0043
SN: 85431303636351E092C0

Sketch uses 2,162 bytes (6%) of program storage space. Maximum is 32,256 bytes.
Global variables use 56 bytes (2%) of dynamic memory, leaving 1,992 bytes for local variables. Maximum is 2,048 bytes.
___REMOVE___/bin/avrdude -C___REMOVE___/etc/avrdude.conf -v -patmega328p -carduino -PCOM3 -b115200 -D -Uflash:w:C:\Users\Haigh\AppData\Local\Temp\buildef2478b480a30c59a670d0abe6c616d2.tmp/servo.ino.hex:i Cannot run program "___REMOVE___/bin/avrdude": CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessBuilder.start(
	at cc.arduino.packages.Uploader.executeUploadCommand(
	at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(
	at cc.arduino.UploaderUtils.upload(
Caused by: CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessImpl.create(Native Method)
	at java.lang.ProcessImpl.<init>(
	at java.lang.ProcessImpl.start(
	at java.lang.ProcessBuilder.start(
	... 9 more
An error occurred while uploading the sketch

Which version of the Arduino IDE are you using?

revamol: Have checked online for similar errors - nothing found with the "REMOVE" bit.

Actually there have been quite a few reports of this issue:""___REMOVE___/bin/avrdude"+site:

Thank you. You are clearly better with search engines than myself.

If anyone stumbles on this in future:

Two hidden Windows folders:
C:/users/(your username)/AppData (hidden folder)/Local/Arduino15
C:/users/(your username)/AppData (hidden folder)/Roaming/Arduino15

Delete those folders and reinstall Arduino software.

Created an account to reply to this. I'm generally pretty good with Google but I was unable to find a solution for a while. deleting those two folders (did not have to reinstall Arduino) did it. Thank you.

For those who have issues finding the directories in windows explorer, you can use the following two commands:

rmdir /s %HOMEDRIVE%%HOMEPATH%\AppData\Local\Arduino15 rmdir /s %HOMEDRIVE%%HOMEPATH%\AppData\Roaming\Arduino15

Hello every body,

thanks a lot for the idea . it worked for me.

there is my setup - w7sp1 ARD IDE 1.8 ( the same problem happened with v1.6.12 installed earlier ) Ard Mega

the steps I have done are -

to close ARD IDE to locate folder c:\Users\admin\AppData\Local\Arduino15\ to delete it to start ARD IDE

it worked just fine after that. note : after ARD IDE restarted, folder c:\Users\admin\AppData\Local\Arduino15\ would be created again.

in my case I did not have to reinstall IDE

note: I was not able to locate folder C:/users/(your username)/AppData (hidden folder)/Roaming/Arduino15 on my system

thanks again with hope it will help somebody as it did to me.


more info in this thread, for mac users

For the record in Linux (Ubuntu) there is a hidden file in the root i.e. ".Arduino15" - delete it.

Thank you so much it post help me a lot!

Thank you again!