This morning I decided to upgrade to the Arduino IDE 1.6.6.
I uninstalled the old IDE and installed the new one. Then I followed the instructions in the Pro Micro hookup guide and dropped in the sparkfun definitions. So far so good. I fire up the IDE and write some simple code and it compiles fine. Now I go ahead and try to upload it to my Pro Micro device and it spits out:
java.io.IOException: Cannot run program “{path}/bin/avrdude”: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:113)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:157)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
at processing.app.Sketch.upload(Sketch.java:1178)
at processing.app.Sketch.exportApplet(Sketch.java:1152)
at processing.app.Sketch.exportApplet(Sketch.java:1124)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2452)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
… 9 more
so obviously something is wrong here.
I’ve searched a bit for a solution but I can’t find anything except “downgrade to 1.0.6” which I’d like to avoid.
Any suggestion on where to go from here?