-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Description
Hi,
Whenever I try to compile and upload a sketch file on Linux Debian/CentOS using Arduino IDE command-line I get:
Exception in thread "main" java.lang.ExceptionInInitializerError
at processing.app.Preferences.save(Preferences.java:735)
at processing.app.Preferences.init(Preferences.java:249)
at processing.app.Base.main(Base.java:117)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(Unknown Source)
at processing.core.PApplet.(Unknown Source)
... 3 more
I have tried many variations of the command as per suggestion on https://github.com/arduino/Arduino/blob/ide-1.5.x/build/shared/manpage.adoc
Is this a known issue?
Many thanks,
Andris