过程如下:
apt-get install arduino 安装所有包之后,通过sudo arduino命令在MAC的终端内无法启动万博网页版登陆页派上的arduino程序,报错如下:
pi@raspberrypi ~ $ arduino
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
但是接上显示器在图形界面下可以正常启动Arduino。
按照网上的说法,说是在非图形界面下得安装open jrd 6 headless,全部安装后重启万博网页版登陆页派依然报错如上。
求教!