java.io.IOException: Cannot run program "/home/amitt/.arduino15/packages/sandeepmistry/tools/openocd/0.10.0-dev.nrf5/bin/openocd": error=2, No such file or directory

GitHub | AmittSharma | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error while flashing SoftDevice.

    GitHub | 8 months ago | AmittSharma
    java.io.IOException: Cannot run program "/home/amitt/.arduino15/packages/sandeepmistry/tools/openocd/0.10.0-dev.nrf5/bin/openocd": error=2, No such file or directory
  2. 0

    'java.io.IOException: Cannot run program papilio-prog.exe' on linux while burning bootloader

    GitHub | 2 years ago | nowatson
    java.io.IOException: Cannot run program ".xxxxxxxxxxx/DesignLab-1.0.3/hardware/tools/papilio/papilio_loader/bin/papilio-prog.exe": error=13, Permission denied
  3. 0

    GitHub comment 5208#237948126

    GitHub | 9 months ago | Breidenbach
    java.io.IOException: Cannot run program "{runtime.tools.avrdude.path}/bin/avrdude": error=2, No such file or directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 3351#131531428

    GitHub | 2 years ago | NicoHood
    java.io.IOException: Cannot run program "stty -F /dev/ttyACM0 2000000": error=2, No such file or directory
  6. 0

    GitHub comment 10#156846271

    GitHub | 1 year ago | martinmm
    java.io.IOException: Cannot run program "{path}/bin/avrdude": error=2, No such file or directory
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    error=2, No such file or directory

    at java.lang.UNIXProcess.forkAndExec()
  2. Java RT
    Runtime.exec
    1. java.lang.UNIXProcess.forkAndExec(Native Method)
    2. java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:134)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    5. java.lang.Runtime.exec(Runtime.java:620)
    6. java.lang.Runtime.exec(Runtime.java:485)
    6 frames
  3. processing.app.helpers
    ProcessUtils.exec
    1. processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11)
    1 frame
  4. cc.arduino.packages
    SerialUploader.burnBootloader
    1. cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)
    2. cc.arduino.packages.uploaders.SerialUploader.burnBootloader(SerialUploader.java:410)
    2 frames
  5. com.github.sandeepmistry
    nRF5FlashSoftDevice.lambda$run$0
    1. com.github.sandeepmistry.arduino.nRF5.nRF5FlashSoftDevice.lambda$run$0(nRF5FlashSoftDevice.java:143)
    1 frame
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame