Problem compiling and uploading program in arduino IDE in Ubuntu 16.04

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.(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…

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.

COMPILAÇÃO NÃO EXECUTA E APARECE ESTE ALARME:

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.SketchController.exportApplet(SketchController.java:672)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2135)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Cannot run program “C:\Program Files (x86)\Arduino\arduino-builder”: CreateProcess error=2, O sistema não pode encontrar o arquivo especificado
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
at cc.arduino.Compiler.callArduinoBuilder(Compiler.java:296)
… 6 more
Caused by: java.io.IOException: CreateProcess error=2, O sistema não pode encontrar o arquivo especificado
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)
… 8 more