java.io.IOException: on MAC OS X Sierra and Arduino IDE 1.6.12

I’ve just updated my SO to MAC OS Sierra and now I get this error, making totally impossible to upload a sketch to my Arduino Mega 2560.

java.io.IOException: Cannot run program “REMOVE/bin/avrdude”: error=2, No such file or directory

  • at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)*
  • at java.lang.Runtime.exec(Runtime.java:620)*
  • at java.lang.Runtime.exec(Runtime.java:485)*
  • at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11)*
  • at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)*
  • at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:206)*
  • at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)*
  • at processing.app.SketchController.upload(SketchController.java:707)*
  • at processing.app.SketchController.exportApplet(SketchController.java:680)*
  • at processing.app.Editor$DefaultExportHandler.run(Editor.java:2176)*
  • at java.lang.Thread.run(Thread.java:745)*
    Caused by: java.io.IOException: error=2, No such file or directory
  • at java.lang.UNIXProcess.forkAndExec(Native Method)*
  • at java.lang.UNIXProcess.(UNIXProcess.java:248)*
  • at java.lang.ProcessImpl.start(ProcessImpl.java:134)*
  • at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)*
  • … 10 more*

Could you help me?

I'm having the same problem..

Any help, someone!!!

Walt

I'm having the save problem.

macOS Sierra 10.12.1, Arduino IDE 1.6.12, Arduino Pro mini

Kosuke

Nobody has ever found out what causes this issue or how to solve it but if you start messing about with uninstalling/installing the Arduino IDE, deleting Arduino15 folder, changing Arduino AVR Boards version with Boards Manager, and trying other Arduino IDE versions you'll eventually get it to go away. If you do find the cause please let us know.

Using the Boards Manager, I updated "Arduino AVR Boards" from 1.6.13 to 1.6.14. This fixed the error for me.

Bluestaz: Using the Boards Manager, I updated "Arduino AVR Boards" from 1.6.13 to 1.6.14. This fixed the error for me.

Yup, that worked for me also. None of the other suggestions had any effect. I'm also newly updated to OS X Sierra, so perhaps that this the root cause.

Bluestaz: Using the Boards Manager, I updated "Arduino AVR Boards" from 1.6.13 to 1.6.14. This fixed the error for me.

That worked for me too! Thanks!