We use mBlock 3.4.11 in an education environment on Windows 10 clients. Students don’t have admin rights.
When upload to arduino we get this message:
C:\Program Files (x86)\mBlock\Arduino\arduino_debug.exe --upload --board arduino:avr:nano:cpu=atmega328 --port COM3 --verbose --preserve-temp-files C:\Users\testuser\AppData\Roaming\com.makeblock.Scratch3.4.11\Local Store\scratchTemp\project_Untitled12119_2\project_Untitled12119_2.ino
Loading configuration…
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:147)
at processing.app.windows.Platform.getFolderPathFromRegistry(Platform.java:70)
at processing.app.windows.Platform.recoverSettingsFolderPath(Platform.java:55)
at processing.app.windows.Platform.init(Platform.java:50)
at processing.app.Base.guardedMain(Base.java:153)
at processing.app.Base.main(Base.java:137)
Read some topic about this. When downloading the latest arduino 1.8.5 and copy that into the mblock folder, then it seems to work. but the edit with arduino ide still not opening arduino. but i’ve installed also arduino and when i start this outside mblock arduino works without problems.
Any idea or tips?