-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Component: CLIThe Arduino IDE's command line interfaceThe Arduino IDE's command line interfaceComponent: IDEThe Arduino IDEThe Arduino IDEType: Bug
Milestone
Description
I'd like to use the CLI in Arduino 1.5 on a headless Raspberry Pi (accessed through SSH only, no X11 environment), to make a continuous integration platform.
When calling arduino in the command line, Java complains that the X11 environment is not set and is required (which should not be necessary for CLI programs).
CLI output:
$ arduino --verify foo.ino
Exception in thread "main" java.lang.ExceptionInInitializerError
at processing.app.Base.main(Base.java:113)
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(HeadlessToolkit.java:231)
at processing.core.PApplet.<clinit>(Unknown Source)
... 1 more
zsh: exit 1 arduino --verify foo.ino
njh, mxxxc, PendletonJones, melkonyan and augustt198
Metadata
Metadata
Assignees
Labels
Component: CLIThe Arduino IDE's command line interfaceThe Arduino IDE's command line interfaceComponent: IDEThe Arduino IDEThe Arduino IDEType: Bug