Arduino 101 will not load- Java error

I get the following error when sketch try's to load sketch.

Arduino: 1.6.10 (Windows 8.1), Board: "Arduino/Genuino 101"

Sketch uses 17,244 bytes (11%) of program storage space. Maximum is 155,648 bytes.
C:\Users\William\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\1.6.9+1.24/arduino101load/arduino101load C:\Users\William\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\1.6.9+1.24/x86/bin C:\Users\William\AppData\Local\Temp\build9c9ef3bdfe2fccb480bc6e4bac749e41.tmp/Blink.ino.bin COM4 verbose
java.io.IOException: Cannot run program "C:\Users\William\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\1.6.9+1.24/arduino101load/arduino101load": 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:130)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:209)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
at processing.app.Sketch.upload(Sketch.java:1187)
at processing.app.Sketch.exportApplet(Sketch.java:1160)
at processing.app.Sketch.exportApplet(Sketch.java:1132)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2409)
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
An error occurred while uploading the sketch

Bill W

I found the problem. Java can not find the file "arduino101load". It was not installed with the 1.6.10 build. Found where McAfee would not let it load.

Is there any way around this.

Hi wfwbrw,
this is a common problem with arduino101-load. It's clearly a false positive (the source code is here) but most antivirus are still not whitelisting it.
One solution can be reinstalling core 1.0.6 and whitelisting the arduino101-load executable before running it. Hope it helps

Hi facchinm

I have the same problem with McAfee. Can you explain how to whitelist the 101 load program?

Also, if I turn the real time scanning feature of McAfee off and try to compile and upload the example "Blink" to the 101 I get the following:

Arduino: 1.6.10 (Windows 7), Board: "Arduino/Genuino 101"

Sketch uses 17,244 bytes (11%) of program storage space. Maximum is 155,648 bytes.
Forcing reset using 1200bps open/close on port COM5
C:\Users\Dave\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\1.6.9+1.24/arduino101load/arduino101load C:\Users\Dave\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\1.6.9+1.24/x86/bin C:\Users\Dave\AppData\Local\Temp\buildb48cf179db67a583bc24c7c8c87c7f6f.tmp/Blink.ino.bin COM5 verbose
Starting download script...
Args to shell: [C:\Users\Dave\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\1.6.9+1.24/x86/bin C:\Users\Dave\AppData\Local\Temp\buildb48cf179db67a583bc24c7c8c87c7f6f.tmp/Blink.ino.bin COM5 verbose]
Serial Port: COM5
BIN FILE C:\Users\Dave\AppData\Local\Temp\buildb48cf179db67a583bc24c7c8c87c7f6f.tmp/Blink.ino.bin
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
Flashing is taking longer than expected
Try pressing MASTER_RESET button
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
ERROR: Device is not responding.
ERROR: Device is not responding.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I've pressed the RESET button a number of times. The USB "disconnect/connect" sound is played 3 or 4 timer and the errors are displayed.

I've been trying to get this going for 6 hours now and I feel a beer coming on! :slight_smile:
Any idea what I can do?

Thanks
Dave

Interesting that the root cause of this problem for the Intel enhanced Arduino 101 not working is that a required executable file for Windows IDE operation is flagged by the McAfee virus tool (owned by Intel) as a virus and it is not yet whitelisted in the standard McAfee virus definition updates. Time to escalate to marketing, as the kids are not playing well together.

Time to switch to the Linux IDE.

Forever a Noob,
Toeslam