You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered: