Java IO Exception

Hello, I am having an issue with Arduino,
I updated to 1.8.13 and now when I try to upload a sketch to my board (Sparkfun ESP32 Thing plus ) I get the following error:

Arduino: 1.8.13 (Windows 10), Board: "SparkFun ESP32 Thing Plus, 80MHz, Default (6.25MB APP/ OTA/ 3.43MB SPIFFS), 921600, Verbose"

Sketch uses 209651 bytes (3%) of program storage space. Maximum is 6553600 bytes.

Global variables use 15348 bytes (4%) of dynamic memory, leaving 312332 bytes for local variables. Maximum is 327680 bytes.

java.io.IOException: Cannot run program "{runtime.tools.esptool_py.path}/esptool.exe": 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:129)

at cc.arduino.packages.uploaders.SerialUploader.runCommand(SerialUploader.java:383)

at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:197)

at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)

at processing.app.SketchController.upload(SketchController.java:732)

at processing.app.SketchController.exportApplet(SketchController.java:703)

at processing.app.Editor$UploadHandler.run(Editor.java:2055)

at java.lang.Thread.run(Thread.java:748)

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

An error occurred while uploading the sketch

I have tried the following:

  • uninstalling and reinstalling arduino
  • deleting the libraries and program files dir and readding the board
  • rolling back to 1.8.12
  • sending the Blink test sketch from examples

all with no luck here.
can anyone point me in a direction to resolve this?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.