当我在控制台中运行arduino时,我得到:
[lukas@lu arduino]$ arduino
Xlib: extension "RANDR" missing on display ":0.0".
java.lang.IllegalArgumentException: Illegal pattern character 'r'
at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:769)
at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:576)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:501)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:476)
at processing.app.tools.Archiver.init(Archiver.java:59)
at processing.app.Editor.createToolMenuItem(Editor.java:859)
at processing.app.Editor.addInternalTools(Editor.java:885)
at processing.app.Editor.buildToolsMenu(Editor.java:660)
at processing.app.Editor.buildMenuBar(Editor.java:476)
at processing.app.Editor.<init>(Editor.java:205)
at processing.app.Base.handleOpen(Base.java:704)
at processing.app.Base.handleOpen(Base.java:669)
at processing.app.Base.handleNew(Base.java:565)
at processing.app.Base.<init>(Base.java:305)
at processing.app.Base.main(Base.java:194)
Exception in thread "main" java.lang.NullPointerException
at java.awt.Container.addImpl(Container.java:1041)
at java.awt.Container.add(Container.java:373)
at javax.swing.JPopupMenu.add(JPopupMenu.java:281)
at javax.swing.JMenu.add(JMenu.java:579)
at processing.app.Editor.addInternalTools(Editor.java:885)
at processing.app.Editor.buildToolsMenu(Editor.java:660)
at processing.app.Editor.buildMenuBar(Editor.java:476)
at processing.app.Editor.<init>(Editor.java:205)
at processing.app.Base.handleOpen(Base.java:704)
at processing.app.Base.handleOpen(Base.java:669)
at processing.app.Base.handleNew(Base.java:565)
at processing.app.Base.<init>(Base.java:305)
at processing.app.Base.main(Base.java:194)
10分钟后没有任何反应。有什么想法吗?
答案 0 :(得分:1)
在运行arduino之前,我必须将语言环境更改为en_US.UTF-8
export LANG=en_US.UTF-8