Go Down

Topic: Problem compiling and uploading program in arduino IDE in Ubuntu 16.04  (Read 22 times) previous topic - next topic

a_jay

I have installed Arduino IDE in Ubuntu 16.04. When I try to compile or upload a program, the compilation freezes with the following error


processing.app.debug.RunnerException
at cc.arduino.Compiler.callArduinoBuilder(Compiler.java:316)
at cc.arduino.Compiler.loadPreferences(Compiler.java:215)
at cc.arduino.Compiler.build(Compiler.java:174)
at processing.app.SketchController.build(SketchController.java:647)
at processing.app.Editor$BuildHandler.run(Editor.java:1738)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Cannot run program "/home/xxx/arduino-1.8.2/arduino-builder": error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:485)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11)
at cc.arduino.Compiler.callArduinoBuilder(Compiler.java:296)
... 5 more
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 9 more


I have tried reinstalling the IDE but error remains the same.....

Delta_G

Haven't seen that one before, but if it were my problem the first thing I'd do would be to find that file and chmod 777 it and see if that made any difference. 
If at first you don't succeed, up - home - sudo - enter.

Go Up