I have removed Arduino15 file and Arduino runs. I load an example file(should compile easily)
Arduino hangs up and I get the following errors shown in verbose
I did not see a key to copy the verbose code so I copied and pasted
processing.app.debug.RunnerException
at cc.arduino.Compiler.callArduinoBuilder(Compiler.java:317)
at cc.arduino.Compiler.loadPreferences(Compiler.java:216)
at cc.arduino.Compiler.build(Compiler.java:175)
at processing.app.SketchController.build(SketchController.java:664)
at processing.app.Editor$BuildHandler.run(Editor.java:1638)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Cannot run program "C:\Users\Galen\Documents\Arduino\arduino-1.8.19\arduino-builder": 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.Compiler.callArduinoBuilder(Compiler.java:297)
... 5 more
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)
... 7 more
Any ideas?
Do you see a file named arduino-builder.exe under this folder?:
C:\Users\Galen\Documents\Arduino\arduino-1.8.19\
You can open the folder in your file browser (i.e. Windows File Explorer) to see whether it contains the file.
FYI, C:\Users\Galen\Documents\Arduino is a very problematic location to install the Arduino IDE. The reason is that C:\Users\Galen\Documents\Arduino is the default sketchbook location and the Arduino IDE is not allowed to be installed under the sketchbook folder.
If you have managed to set a custom sketchbook location in your preferences then it is possible to have the Arduino IDE under C:\Users\Galen\Documents\Arduino, but I would recommend avoiding this location unless you have a strong reason for using it.
I have the same problem, figure out that file arduino-builder.exe is missing. Copy paste it from zip installation file and it is working now. Happened twice already.
Hi @romanvolcic. This problem of an executable file going missing is often caused by antivirus software that "quarantines" the executable after deciding it looks suspicious. So you might check in the quarantine for whatever antivirus software you might be using to see whether that was the case.
I just ran the version 1.6.1 of arduino-builder used by Arduino IDE 1.8.19 on Windows through VirusTotal and it received a clean bill of health:
You could do the same with your file to make sure it has the same detection results and cryptographic hash.