Some have also Arduino things installed from the repositories. The new and old Arduino files can not be mixed.
I have a minimal Java installed, and I have Arduino IDE 1.6.7 unpacked in a folder and run it with a shortcut in the menu and on the desktop.
Try 'synaptic' to seach for things like "rxtx" or "arduino" and remove those. If you want you can have "gcc-avr" installed and the "avr-libc" and "binutils-avr", if you want to compile without using Arduino. Otherwise, you can remove those as well with synaptic.
SurferTim:
Compiles with Ubuntu 15.10 and IDE 1.6.6.
Koepel:
Some have also Arduino things installed from the repositories. The new and old Arduino files can not be mixed.
I have a minimal Java installed, and I have Arduino IDE 1.6.7 unpacked in a folder and run it with a shortcut in the menu and on the desktop.
Try 'synaptic' to seach for things like "rxtx" or "arduino" and remove those. If you want you can have "gcc-avr" installed and the "avr-libc" and "binutils-avr", if you want to compile without using Arduino. Otherwise, you can remove those as well with synaptic.
Very thank you! to both, you are right, my arduino version is so old (1.0.5, installed from the software center in ubuntu), i downloaded the arduino IDE 1.6.7 from the official page, now i have no problems to compile from my ubuntu.