Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino IDE 1.5.7 cli not working #2298

Closed
nataans opened this issue Sep 11, 2014 · 1 comment
Closed

Arduino IDE 1.5.7 cli not working #2298

nataans opened this issue Sep 11, 2014 · 1 comment
Labels
Type: Duplicate Another item already exists for this topic

Comments

@nataans
Copy link

nataans commented Sep 11, 2014

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

@matthijskooijman
Copy link
Collaborator

Yeah, it's a known issue. In fact, a duplicate of #1981. See that issue for more info.

@per1234 per1234 added the Type: Duplicate Another item already exists for this topic label Jul 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

3 participants